Add missing whitespace to generated parsers

master
Futago-za Ryuu 7 years ago
parent af917b1e4d
commit 83e3b9edc4

@ -1450,7 +1450,7 @@ function generateJS( ast, session, options ) {
" }",
" }",
"",
use( "filename" ) ? " var peg$VALIDFILENAME = typeof options.filename === \"string\" && options.filename.length > 0;" : "",
use( "filename" ) ? " var peg$VALIDFILENAME = typeof options.filename === \"string\" && options.filename.length > 0;" : "",
" function peg$computeLocation(startPos, endPos) {",
" var loc = {};",
"",

@ -448,7 +448,7 @@ function peg$parse(input, options) {
}
}
var peg$VALIDFILENAME = typeof options.filename === "string" && options.filename.length > 0;
var peg$VALIDFILENAME = typeof options.filename === "string" && options.filename.length > 0;
function peg$computeLocation(startPos, endPos) {
var loc = {};

Loading…
Cancel
Save