[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Problem with LPeg 0.12
- From: François Perrad <francois.perrad@...>
- Date: Wed, 5 Jun 2013 18:40:24 +0200
The attached module (a JSON parser) works fine with LPeg 0.10.2.
After a upgrade to LPeg 0.12, an error occurs at load time :
$ lua -e "print(require'parser_peg'.parse'{}')"
lua: ./parser_peg.lua:61: empty loop in rule 'object'
The file contains a workaround which removes the last part of the rule 'value'.
$ lua -e "print(require'parser_peg'.parse'{}')"
table: 0x8b8e958
François
Attachment:
parser_peg.lua
Description: Binary data