You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
9 years ago
..
passes Rename asts.matchesEmpty to alwaysAdvancesOnSuccess and negate it 9 years ago
asts.js Make infinite loop and left recursion detectors work with named rules 9 years ago
javascript.js Convert PEG.js code to strict mode 9 years ago
opcodes.js Convert PEG.js code to strict mode 9 years ago
visitor.js Convert PEG.js code to strict mode 9 years ago