Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/simpleparse/parser.py", line 37, in __init__
definitionSources = definitionSources,
File "/usr/lib/python2.7/dist-packages/simpleparse/simpleparsegrammar.py", line 483, in __init__
Unparsed:\n%s..."""%(lineNumber, next, len(ebnf), ebnf[next:next+100])
ValueError: Unable to complete parsing of the EBNF, stopped at line 6 (0 chars of 58)
Unparsed:
/* Blah blah
* blah blah
* blah.
*/
Example ::= [a-z]...
Version 2.2.0 in Python 2 and Python 3 gives a ValueError on comments. See the following example:
which results in:
A similar error occurs for:
Is there a workaround for this or could this be fixed? Perhaps both examples require different fixes.