pegjs/lib/compiler
David Majda d7d7e87874 Make infinite loop and left recursion detectors work with named rules
Add missing |named| case to the visitor in lib/compiler/asts.js, which
makes the infinite loop and left recursion detectors work correctly with
named rules.

The missing case caused |make parser| to fail with:

  140:34: Infinite loop detected.
  make: *** [parser] Error 1
2015-08-06 16:32:08 +02:00
..
passes Rename asts.matchesEmpty to alwaysAdvancesOnSuccess and negate it 2015-07-31 13:48:46 +02:00
asts.js Make infinite loop and left recursion detectors work with named rules 2015-08-06 16:32:08 +02:00
javascript.js Convert PEG.js code to strict mode 2015-06-12 17:34:59 -07:00
opcodes.js Convert PEG.js code to strict mode 2015-06-12 17:34:59 -07:00
visitor.js Convert PEG.js code to strict mode 2015-06-12 17:34:59 -07:00