[Pyparsing] (no subject)
Brought to you by:
ptmcg
From: <de...@de...> - 2008-04-03 19:53:21
|
Hi, I still have to find out how to report parse errors better. E.g. if I pass the following code to the example parser idlParse.py (in the pyparsing distribution or on the pyparsing web page): test( """ module Test1 { module Test2 { module Test3 { module Test4 { module Test5 { module Test6 { xception TestException { string msg; }; }; }; }; }; }; }; """ ) I get an error message that does not point to the typo in the keyword: module Test2 ^ Expected "}" (at char 42), (line:4, col:9) Any idea on how to behave friendlier and more helpful to the users of my parser? Thanks in advance! |