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 d1fe86683b Improve location info in tracing events
Replace |line|, |column|, and |offset| properties of tracing events with
the |location| property. It contains an object similar to the one
returned by the |location| function available in action code:

  {
    start: { offset: 23, line: 5, column: 6 },
    end:   { offset: 25, line: 5, column: 8 }
  }

For the |rule.match| event, |start| refers to the position at the
beginning of the matched input and |end| refers to the position after
the end of the matched input.

For |rule.enter| and |rule.fail| events, both |start| and |end| refer to
the current position at the time the rule was entered.
9 years ago
..
passes Improve location info in tracing events 9 years ago
asts.js Extract the |matchesEmpty| visitor from the |reportLeftRecursion| pass 9 years ago
javascript.js Fix a bug in |stringEscape| 10 years ago
opcodes.js Rename |reportedPos| to |savedPos| 9 years ago
visitor.js Reordering in visitors and their specs 10 years ago