Skip to content

Commit

Permalink
{feature} improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bgotink committed Mar 31, 2024
1 parent 35786e1 commit 7556130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export function assertAtEOF(ctx) {

throw mkError(
ctx,
`Expected EOF but found extra content ${JSON.stringify(ctx.current.value.text)}`,
`Unexpected token ${JSON.stringify(ctx.current.value.text)}, did you forget to quote an identifier?`,
);
}

Expand Down

0 comments on commit 7556130

Please sign in to comment.