summaryrefslogtreecommitdiff
path: root/src/interpreter/PeggyParser.js
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-11 16:35:51 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-03-11 16:35:51 -0600
commitde4f3fd2fe45478ffabc84f055592e11b119d0a4 (patch)
treead2ce3b3e646d2d6bfbccb4b9c8962196a0ea8fe /src/interpreter/PeggyParser.js
parent32879581e53fae5e684c24b44433172d8375d69e (diff)
downloadthe-abstraction-engine-de4f3fd2fe45478ffabc84f055592e11b119d0a4.tar.gz
the-abstraction-engine-de4f3fd2fe45478ffabc84f055592e11b119d0a4.zip
prettier, fix assets and css
Diffstat (limited to 'src/interpreter/PeggyParser.js')
-rw-r--r--src/interpreter/PeggyParser.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interpreter/PeggyParser.js b/src/interpreter/PeggyParser.js
index f5376b3..363f60b 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),
);
}
}