From 1c028e3a2250a56eface56ebbb1835d77e4e2579 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 30 Jun 2026 14:30:19 -0400 Subject: Big refactor --- src/lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lexer.c') 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); } -- cgit v1.2.3