Skip to content
Snippets Groups Projects
  • Adam Wardynski's avatar
    Ignore ambiguity warning in ML_COMMENT. It works OK · be583d96
    Adam Wardynski authored
    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.
    be583d96