fix(lexer): POKEDALLARS
This commit is contained in:
parent
687f38523b
commit
609c1667af
2 changed files with 1 additions and 4 deletions
|
|
@ -19,7 +19,7 @@ static bool is_special_char(char c)
|
|||
if (c == EOF)
|
||||
return true;
|
||||
|
||||
char special_chars[] = "\n'\"`;#|&\\$(){}<>*";
|
||||
char special_chars[] = "\n'\"`;#|&\\(){}<>*";
|
||||
return strchr(special_chars, c) != NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,9 +45,6 @@ static void set_token_spechar(struct token *tok, char *begin, ssize_t size)
|
|||
case '\\':
|
||||
tok->type = TOKEN_BACKSLASH;
|
||||
break;
|
||||
case '$':
|
||||
tok->type = TOKEN_DOLLAR;
|
||||
break;
|
||||
case '(':
|
||||
tok->type = TOKEN_LEFT_PAREN;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue