Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asp tree grammar sometimes needs to generate a final newline #27

Open
shoaibkamil opened this issue Dec 5, 2011 · 0 comments
Open

asp tree grammar sometimes needs to generate a final newline #27

shoaibkamil opened this issue Dec 5, 2011 · 0 comments
Assignees
Labels

Comments

@shoaibkamil
Copy link
Owner

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.

@ghost ghost assigned chiaracoetzee Dec 6, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants