pegjs/spec/unit/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.spec.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00
helpers.js ESLint: Set environments better 2016-01-29 14:50:38 +01:00
remove-proxy-rules.spec.js ESLint: Set environments better 2016-01-29 14:50:38 +01:00
report-infinite-loops.spec.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00
report-left-recursion.spec.js Fix labels leaking to outer scope 2016-03-11 16:42:03 +01:00
report-missing-rules.spec.js ESLint: Set environments better 2016-01-29 14:50:38 +01:00