fix(lexer): POKEDALLARS

This commit is contained in:
Matteo Flebus 2026-01-22 12:59:04 +01:00
parent 687f38523b
commit 609c1667af
2 changed files with 1 additions and 4 deletions

View file

@ -19,7 +19,7 @@ static bool is_special_char(char c)
if (c == EOF) if (c == EOF)
return true; return true;
char special_chars[] = "\n'\"`;#|&\\$(){}<>*"; char special_chars[] = "\n'\"`;#|&\\(){}<>*";
return strchr(special_chars, c) != NULL; return strchr(special_chars, c) != NULL;
} }

View file

@ -45,9 +45,6 @@ static void set_token_spechar(struct token *tok, char *begin, ssize_t size)
case '\\': case '\\':
tok->type = TOKEN_BACKSLASH; tok->type = TOKEN_BACKSLASH;
break; break;
case '$':
tok->type = TOKEN_DOLLAR;
break;
case '(': case '(':
tok->type = TOKEN_LEFT_PAREN; tok->type = TOKEN_LEFT_PAREN;
break; break;