-
Notifications
You must be signed in to change notification settings - Fork 0
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
Recursive multiline highlighting #17
Conversation
…o also support the case when the argument symbol is itself a delimiter
…tiline-highlighting2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few additional comments
rascal-textmate-core/src/main/rascal/lang/textmate/Conversion.rsc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's getting more and more complex, but looks good.
rascal-textmate-core/src/main/rascal/lang/textmate/ConversionUnit.rsc
Outdated
Show resolved
Hide resolved
rascal-textmate-core/src/main/rascal/lang/textmate/Conversion.rsc
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, done
This PR adds support for recursive multiline productions.
Before this PR, all recursive productions were simply excluded from conversion in the analysis stage. After this PR, in the analysis stage, productions are classified as either recursive or non-recursive (via a new parameter in
ConversionUnit
):else { }
in a previous PR) to handle them.