Skip to content

Commit 20befb7

Browse files
committed
improve error message
1 parent 7b25e66 commit 20befb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dictionary/parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const colon = matchString(":", "colon");
4949
const character = match(/./u, "character");
5050
const wordCharacter = match(
5151
new RegExp(`[^${escapeRegex(RESERVED_SYMBOLS)}]`),
52-
"word",
52+
"word character",
5353
);
5454
const tokiPonaWord = lex(match(/[a-z][a-zA-Z]*/, "word"));
5555
const openParenthesis = lex(matchString("(", "open parenthesis"));

0 commit comments

Comments
 (0)