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

Allow comments at the end of a line #45

Open
d-jeffery opened this issue Aug 27, 2024 · 0 comments
Open

Allow comments at the end of a line #45

d-jeffery opened this issue Aug 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@d-jeffery
Copy link
Collaborator

d-jeffery commented Aug 27, 2024

Currently the following is not valid for the parser

model
  schema 1.1
type user
  relations
    define admin: [user]  # This is a comment that should be allowed

Extend the grammar to allow for trailing comments at the end of a line.

Must also allow the following define line;

    define admin: [user#thing]  # This is a comment that should be allowed
@rhamzeh rhamzeh added the enhancement New feature or request label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants