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 };", " return { line: line, column: column };",
" }", " }",
" ", " ",
" var initialContext = {", " var result = parse_${startRule}({ reportMatchFailures: true });",
" reportMatchFailures: true",
" };",
" ",
" var result = parse_${startRule}(initialContext);",
" ", " ",
" /*", " /*",
" * The parser is now in one of the following three states:", " * The parser is now in one of the following three states:",

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

Loading…
Cancel
Save