diff options
Diffstat (limited to 'src/lexer.c')
-rw-r--r-- | src/lexer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lexer.c b/src/lexer.c index 7938b28..e35f1cd 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -75,9 +75,10 @@ lexstring(const uchar *code, size_t codesz) break; /* Single-byte literals */ - case '&': case '(': case ')': case '*': case '+': - case '-': case ':': case ';': case '=': case '[': - case ']': case '{': case '|': case '}': case '~': + case '%': case '&': case '(': case ')': case '*': + case '+': case '-': case ':': case ';': case '=': + case '[': case ']': case '{': case '|': case '}': + case '~': data.kinds[data.len++] = ch; break; |