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 6ce97457bf Fix left recursion detection
So far, left recursion detector assumed that left recursion occurs only
when the recursive rule is at the very left-hand side of rule's
expression:

  start = start

This didn't catch cases like this:

  start = "a"? start

In general, if a rule reference can be reached without consuming any
input, it can lead to left recursion. This commit fixes the detector to
consider that.

Fixes #190.
10 years ago
..
arrays.js Fix left recursion detection 10 years ago
classes.js Utility functions cleanup: Cleanup lib/utils/classes.js 11 years ago
objects.js Utility functions cleanup: Cleanup lib/utils/objects.js 11 years ago