Skip to content
Snippets Groups Projects
Commit be583d96 authored by Adam Wardynski's avatar Adam Wardynski
Browse files

Ignore ambiguity warning in ML_COMMENT. It works OK

This is how they do it on the web, really. It works as expected and matches any flavor of newline (Win, Unix, Mac) despite the ambiguity that "\n\r" can be matched by two subrules, in the end it will be properly matched just by one rule. Also, grammar can be k=2 for lexer.
parent f97a6d15
Branches
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment