summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--query.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/query.zig b/query.zig
index 0f3bcd3..f777f77 100644
--- a/query.zig
+++ b/query.zig
@@ -41,7 +41,7 @@ pub fn ParsedQuery(comptime query: []const u8) ParsedQueryState(query.len) {
41 buf[pos] = c; 41 buf[pos] = c;
42 pos += 1; 42 pos += 1;
43 }, 43 },
44 '\'', '"' => { 44 '\'', '"', '[', '`' => {
45 state = .inside_string; 45 state = .inside_string;
46 buf[pos] = c; 46 buf[pos] = c;
47 pos += 1; 47 pos += 1;
@@ -52,7 +52,7 @@ pub fn ParsedQuery(comptime query: []const u8) ParsedQueryState(query.len) {
52 }, 52 },
53 }, 53 },
54 .inside_string => switch (c) { 54 .inside_string => switch (c) {
55 '\'', '"' => { 55 '\'', '"', ']', '`' => {
56 state = .start; 56 state = .start;
57 buf[pos] = c; 57 buf[pos] = c;
58 pos += 1; 58 pos += 1;