Add error message for TSCompileErrorTypeInvalidTokenContents
This commit is contained in:
parent
dbe77e7199
commit
3d0ca31cf1
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ ExpandTokenResult expand_token(const rules::Rule &rule) {
|
|||
return Rule(rules::Choice{elements});
|
||||
},
|
||||
|
||||
[](auto) { return CompileError(TSCompileErrorTypeInvalidTokenContents, ""); }
|
||||
[](auto) { return CompileError(TSCompileErrorTypeInvalidTokenContents, "Symbols inside tokens are not allowed."); }
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue