pegjs/lib/compiler
David Majda b1ad2a1f61 Rename |reportedPos| to |savedPos|
Preform the following renames:

  * |reportedPos| -> |savedPos| (abstract machine variable)
  * |peg$reportedPos| -> |peg$savedPos| (variable in generated code)
  * |REPORT_SAVED_POS| -> |LOAD_SAVED_POS| (instruction)
  * |REPORT_CURR_POS| -> |UPDATE_SAVED_POS| (instruction)

The idea is that the name |reportedPos| is no longer accurate after the
|location| change (seea the previous commit) because now both
|reportedPos| and |currPos| are reported to user code. Renaming to
|savedPos| resolves this inaccuracy.

There is probably some better name for the concept than quite generic
|savedPos|, but it doesn't come to me.
2015-04-03 16:26:34 +02:00
..
passes Rename |reportedPos| to |savedPos| 2015-04-03 16:26:34 +02:00
asts.js Extract the |matchesEmpty| visitor from the |reportLeftRecursion| pass 2015-04-01 12:20:48 +02:00
javascript.js Fix a bug in |stringEscape| 2014-05-08 20:28:32 +02:00
opcodes.js Rename |reportedPos| to |savedPos| 2015-04-03 16:26:34 +02:00
visitor.js Reordering in visitors and their specs 2014-06-07 14:06:42 +02:00