diff options
| 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 |
| commit | 4f0df837a5d97007d490d17d1180dacb5e195875 (patch) | |
| tree | 4090ce603305f4bfba4d6421b81c2226cbc0c2ec | |
| parent | 2d3bc90cc7ee0666facc8a0bf53ff3e23dc2ff61 (diff) | |
small lexing fix
| -rw-r--r-- | src/lexparse.c | 2 |
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); |
