Hi Charles,

Given a simple file like

  %token SEMICOLON ";"

  %%
  iteration_statement:
        "do" statement "while" "(" expression_in ")" ";" |
        "while" "(" expression_in ")" statement ;

The ";" in iteration_statement ends the syntax highlighting for the
rule.  Since it's quoted, it shouldn't be treated as ending the rule.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB

Reply via email to