Inlined the |initialContext| variable

redux
David Majda 14 years ago
parent 439c815e48
commit 8a2e21fa3f

@ -998,11 +998,7 @@ PEG.Compiler = {
" return { line: line, column: column };",
" }",
" ",
" var initialContext = {",
" reportMatchFailures: true",
" };",
" ",
" var result = parse_${startRule}(initialContext);",
" var result = parse_${startRule}({ reportMatchFailures: true });",
" ",
" /*",
" * The parser is now in one of the following three states:",

@ -3392,11 +3392,7 @@ PEG.grammarParser = (function(){
return { line: line, column: column };
}
var initialContext = {
reportMatchFailures: true
};
var result = parse_grammar(initialContext);
var result = parse_grammar({ reportMatchFailures: true });
/*
* The parser is now in one of the following three states:

Loading…
Cancel
Save