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

[Language] Allow breaking long lines using \ #217

Open
rturrado opened this issue Apr 15, 2024 · 0 comments
Open

[Language] Allow breaking long lines using \ #217

rturrado opened this issue Apr 15, 2024 · 0 comments

Comments

@rturrado
Copy link
Contributor

rturrado commented Apr 15, 2024

For example, the code below should be a valid example:

version \
3

This is not supported by the lexer at the moment. \ is not a recognized token. I don't think it should be a big change. I'm sure there are already solutions out there for this issue. The lexer should say something like: OK, whenever you find the token \ followed by the token NEW_LINE, update the line counter, but delete the new line. Something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant