simpleparse.examples.bad_declaration | index /home/mcfletch/pylive/simpleparse/examples/bad_declaration.py |
Demonstrates what happens when your declaration is syntactically incorrect
When run as a script, will generate a traceback
telling you that the grammar defined here is
incorrectly formatted.
Modules | ||||||
|
Data | ||
declaration = '# note use of raw string when embedding in pytho...ring/number/identifier\nts := [ \\t]*\n' testdata = '[test1]\n\tval=23\n' |