summaryrefslogtreecommitdiff
path: root/src/lexer.c
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-06-30 14:30:19 -0400
committerLLLL Colonq <llll@colonq>2026-06-30 14:30:19 -0400
commit1c028e3a2250a56eface56ebbb1835d77e4e2579 (patch)
tree98ea5da9d75e87f44bb3eb2e153810a6a820f9b6 /src/lexer.c
parent1d4447bcd888dd0bd20cf4b6dd7f9192145debf0 (diff)
Big refactorHEADmaster
Diffstat (limited to 'src/lexer.c')
-rw-r--r--src/lexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.c b/src/lexer.c
index 77d928e..def4084 100644
--- a/src/lexer.c
+++ b/src/lexer.c
@@ -24,7 +24,7 @@ static bool is_more_input(pit_lexer *st) {
}
static int is_symchar(int c) {
- return c != '(' && c != ')' && c != '.' && c != '\'' && c != '"'
+ return c != '(' && c != ')' && c != '[' && c != ']' && c != '.' && c != '\'' && c != '"'
&& pit_libc_ctype_isprint(c)
&& !pit_libc_ctype_isspace(c);
}