Skip to content

[Language] Allow breaking long lines using \ #217

Description

@rturrado

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions