Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
error(17): A.g:2:4: unterminated rule (missing ';') detected at 'b catch' while looking for rule element

Oh, and it correctly recovers and creates the AST for rule 'b'.

Code Block

(COMBINED_GRAMMAR A
 (RULES <mismatched token: [@17,46:46='b',<63>,4:0], resync=a : b catch Exception e {...}>
  (RULE b (BLOCK (ALT B)))
 )
)

Notes...

"grammar A;;" says

...