summaryrefslogtreecommitdiff
path: root/src/lexparse.c
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-22 01:36:49 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-22 01:36:49 +0200
commitf67ef17c65aa5acc27c8bb148c2a0c76987c1f00 (patch)
tree35d4c86b8c383b660e306596b3c931d5a68f156e /src/lexparse.c
parent6b1cb479a7b8939e8d38479191b4ce7447033b5f (diff)
add more builtins
Diffstat (limited to 'src/lexparse.c')
-rw-r--r--src/lexparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexparse.c b/src/lexparse.c
index e412759..a4105eb 100644
--- a/src/lexparse.c
+++ b/src/lexparse.c
@@ -67,7 +67,7 @@ static MaybeChunk handle_dollar_expansion(char* line, size_t* pos, QuotationMode
static Chunk collect_un_q_literal(char* line, size_t* pos) {
String buf = make_String(256);
size_t i;
- for (i = *pos; line[i] != '$' && line[i] != '\0' && line[i] == ' '; i++) {
+ for (i = *pos; line[i] != '$' && line[i] != '\0' && line[i] != ' '; i++) {
push_to_String(&buf, line[i]);
}
*pos = i;