Skip to content

Commit

Permalink
Update parse.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dy committed Mar 7, 2024
1 parent eeabf62 commit 2bbeff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export let idx, cur,
throw EvalError(`${msg} at ${lines.length}:${last.length} \`${idx >= 108 ? '…' : ''}${before}${after}\``, 'font-weight: bold')
},

next = (is = 1, from = idx, l) => {
next = (is, from = idx, l) => {
while (l = is(cur.charCodeAt(idx))) idx += l
return cur.slice(from, idx)
},
Expand Down

0 comments on commit 2bbeff8

Please sign in to comment.