Skip to content

0.4.17-121

Pre-release
Pre-release
Compare
Choose a tag to compare
@GerHobbelt GerHobbelt released this 22 Mar 17:51
· 1540 commits to master since this release

New/improved:

  • leaner production code (any unused features and unused diagnostics tables are not included in the generated output)
  • -t debug mode works both ways: jison outputs diagnostic data while it compiles your grammar and your generated parser includes (switchable) diagnostics output code as well, allowing you to see the parser at work with any input you feed it and diagnose its behaviour. (yydebug mode)
  • -T / --output-debug-tables command line option added for when you dearly miss the nonterminals_ generator table in your parser (it is not used by the parser code itself but your 'outside' app code might be accessing this one (assuming you RTFC and read the comment docblock at the top of the generated parser(s)... ;-) )
  • %token ID "description bla bla" now works as expected: the describeSymbol() API will now pick up and produce the description for the given token (this can impact your error messages and maybe your diagnostics code too)
  • basic yyerrok and yyclearin support
  • cosmetic fixes