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

Improve parser error message when rule/module is declared with name but lacks ':' #515

Closed
Xewar313 opened this issue Apr 19, 2024 · 0 comments · Fixed by #519
Closed

Improve parser error message when rule/module is declared with name but lacks ':' #515

Xewar313 opened this issue Apr 19, 2024 · 0 comments · Fixed by #519
Assignees
Labels
bug Something isn't working syntaxHighlighting Syntax highlighting usability problem
Milestone

Comments

@Xewar313
Copy link
Contributor

when declaring rule like:
rule some_identifier
the message pops up saying "Rule name identifier or ':' expected" - this should fix it to only write "':' expected" (since rule cannot have multiple identifiers

@iromeo iromeo added this to the next release milestone Apr 20, 2024
@iromeo iromeo changed the title Change message when rule like had already declared identifier Improve parser error message when rule/module have declared name but mising colon Apr 23, 2024
@iromeo iromeo added bug Something isn't working syntaxHighlighting Syntax highlighting usability problem labels Apr 23, 2024
@iromeo iromeo changed the title Improve parser error message when rule/module have declared name but mising colon Improve parser error message when rule/module is declared with name but lacks colon symbol Apr 23, 2024
@iromeo iromeo changed the title Improve parser error message when rule/module is declared with name but lacks colon symbol Improve parser error message when rule/module is declared with name but lacks ':' Apr 23, 2024
iromeo pushed a commit that referenced this issue Apr 23, 2024
@iromeo iromeo modified the milestones: next release, 2024.2.2 Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working syntaxHighlighting Syntax highlighting usability problem
Projects
None yet
2 participants