summaryrefslogtreecommitdiff
path: root/src/lexparse.c
diff options
context:
space:
mode:
authorÁkos Kőrösi <korakos99@gmail.com>2026-05-21 19:27:02 +0200
committerÁkos Kőrösi <korakos99@gmail.com>2026-05-21 19:27:02 +0200
commit4f0df837a5d97007d490d17d1180dacb5e195875 (patch)
tree4090ce603305f4bfba4d6421b81c2226cbc0c2ec /src/lexparse.c
parent2d3bc90cc7ee0666facc8a0bf53ff3e23dc2ff61 (diff)
small lexing fix
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 18d36ab..de14c0a 100644
--- a/src/lexparse.c
+++ b/src/lexparse.c
@@ -100,7 +100,7 @@ static Chunk collect_double_q_section(char* line, size_t* pos) {
(*pos)++;
String buf = make_String(256);
size_t i;
- for (i = *pos; line[i] != '\'' && line[i] != '\0'; i++) {
+ for (i = *pos; line[i] != '\"' && line[i] != '\0'; i++) {
push_to_String(&buf, line[i]);
}
if (line[i] == '\0') exit(44);