diff options
Diffstat (limited to 'src/interpreter/PeggyParser.js')
-rw-r--r-- | src/interpreter/PeggyParser.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interpreter/PeggyParser.js b/src/interpreter/PeggyParser.js index 5671d91..121cf9d 100644 --- a/src/interpreter/PeggyParser.js +++ b/src/interpreter/PeggyParser.js @@ -226,7 +226,7 @@ export default (function () { ["0", "9"], ], false, - false, + false ); var peg$e1 = peg$literalExpectation("(", false); var peg$e2 = peg$literalExpectation(")", false); @@ -260,7 +260,7 @@ export default (function () { if (options.startRule) { if (!(options.startRule in peg$startRuleFunctions)) { throw new Error( - "Can't start parsing from rule \"" + options.startRule + '".', + "Can't start parsing from rule \"" + options.startRule + '".' ); } @@ -296,7 +296,7 @@ export default (function () { throw peg$buildStructuredError( [peg$otherExpectation(description)], input.substring(peg$savedPos, peg$currPos), - location, + location ); } @@ -417,7 +417,7 @@ export default (function () { peg$SyntaxError.buildMessage(expected, found), expected, found, - location, + location ); } @@ -883,7 +883,7 @@ export default (function () { peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null, peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) - : peg$computeLocation(peg$maxFailPos, peg$maxFailPos), + : peg$computeLocation(peg$maxFailPos, peg$maxFailPos) ); } } |