-
Notifications
You must be signed in to change notification settings - Fork 9
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
#sourceLocation? #7
Comments
That's a great idea. I'll try to implement it in the next few days. |
bump! Would really love this if possible. |
@dabrahams Instead of adding the |
You are awesome! I know this is gonna make my development much better! |
This works great unless you happen to leave the body of the function empty, in which case the error ends up pointing at the signature of the function in the grammar file. Just FWIW. |
It would be really helpful if you could insert
#sourceLocation
directives corresponding to the#line
directives in a lemon-generated parser. There are some annoying restrictions on where you can put them in Swift, but it should work to put one before each generated parse action function, I think.The text was updated successfully, but these errors were encountered: