Thread: [Pyparsing] Problems with indentedBlock and enablePackrat
Brought to you by:
ptmcg
From: Eike W. <eik...@gm...> - 2008-09-23 16:03:42
|
Packrat parsing seems to interfere with the indentedBlock parser. Some legitimate input is no longer recognized when packrat parsing is switched on. A script to demonstrate the problem is here: http://pastebin.com/f5b006f4d When line 7 is uncommented an exception is raised while parsing the 3rd example 'program'. Maybe I'm using indentedBlock somehow wrongly? Kind regards, Eike. |