diff options
Diffstat (limited to '')
| -rw-r--r-- | src/paca.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paca.mjs b/src/paca.mjs index 74e24bc..a8cc0f4 100644 --- a/src/paca.mjs +++ b/src/paca.mjs @@ -18,7 +18,7 @@ const numFromDigits = digits => ? -1 : Number(digits.join("")); -const escapingStateStep = ({ out, state, context }, char, index, next) => ({ +const escapingStateStep = ({ out, _state, context }, char, _index, next) => ({ out: out.concat( char, next !== undefined ? {operator: "concat"} : [], @@ -27,7 +27,7 @@ const escapingStateStep = ({ out, state, context }, char, index, next) => ({ context, }); -const rangeStateStep = ({ out, state, context }, char, index, next) => { +const rangeStateStep = ({ out, state, context }, char, _index, _next) => { if (char === "}") { if (context.where !== "to") { return reduced({ |
