shoaibkamil/asp — Issue #27: asp tree grammar sometimes needs to generate a final newline
Author: shoaibkamil
Created: 2011-12-05 19:36:03+00:00
State: open

For some grammars, I have a mysterious "syntax error" that occurs at the last line in the generated code from tree_grammar.py. This seems to be fixed by adding an additional newline to the generated program text, i.e.:

program += "\n"

right before executing it.