Fix incorrect variable name on two places
This commit is contained in:
parent
4d50a37b14
commit
088c78e88c
|
@ -66,7 +66,7 @@ PEG.compiler.checks = [
|
|||
grammar:
|
||||
function(node, appliedRules) {
|
||||
for (var name in node.rules) {
|
||||
check(ast.rules[name], appliedRules);
|
||||
check(node.rules[name], appliedRules);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ PEG.compiler.passes = [
|
|||
grammar:
|
||||
function(node, from, to) {
|
||||
for (var name in node.rules) {
|
||||
replace(ast.rules[name], from, to);
|
||||
replace(node.rules[name], from, to);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue