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

Move copy code resolution to lexer #412

Closed
wants to merge 36 commits into from

Conversation

MarkusAmshove
Copy link
Owner

@MarkusAmshove MarkusAmshove commented Oct 30, 2023

closes #411

Make sure the following stuff still works:

  • go to reference on a copy code name
  • find references within a copy code
  • define data parser correctly routes diagnostic positions
  • natlint correctly shows additional positions
  • all calls to lexer use the new lexer where applicable

@MarkusAmshove MarkusAmshove added the natparse🔎 Parser and project structure label Oct 30, 2023
This makes sure that the INCLUDE can be correctly resolved if the nested INCLUDE
has a copy code parameter as parameter itself, e.g.:

INCLUDE NESTED &1&
This is to silence errors when programming within a NSC file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
natparse🔎 Parser and project structure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move INCLUDE resolution into the Lexer
1 participant