pegjs/spec/unit/compiler/passes
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
..
generate-bytecode.spec.js Rename |reportedPos| to |savedPos| 2015-04-03 16:26:34 +02:00
helpers.js Fix small errors in Jasmine matcher messages 2015-04-02 14:32:31 +02:00
remove-proxy-rules.spec.js Specs cleanup: Simplify compiler passes specs 2014-06-07 10:50:55 +02:00
report-infinite-loops.spec.js Implement infinite loop detection 2015-04-01 12:21:43 +02:00
report-left-recursion.spec.js Fix left recursion detection 2015-04-01 10:10:51 +02:00
report-missing-rules.spec.js Specs cleanup: Simplify compiler passes specs 2014-06-07 10:50:55 +02:00