pegjs/lib/compiler/passes
David Majda 0c39f1cf86 Fix labels leaking to outer scope
Labels in expressions like "(a:"a")" or "(a:"a" b:"b" c:"c")" were
visible to the outside despite being wrapped in parens. This commit
makes them invisible, as they should be.

Note this required introduction of a new "group" AST node, whose purpose
is purely to provide label scope isolation. This was necessary because
"label" and "sequence" nodes don't (and can't!) provide this isolation
themselves.

Part of a fix of #396.
2016-03-11 16:42:03 +01:00
..
generate-bytecode.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00
generate-js.js Detect newlines using charCodeAt instead of charCode 2016-02-05 17:53:26 +01:00
remove-proxy-rules.js Convert PEG.js code to strict mode 2015-06-12 17:34:59 -07:00
report-infinite-loops.js Report left recursion and infinite loops only as "possible" 2015-09-11 14:58:53 +02:00
report-left-recursion.js Report full rule chain in recursive rule errors 2015-09-11 15:09:42 +02:00
report-missing-rules.js Convert PEG.js code to strict mode 2015-06-12 17:34:59 -07:00