summaryrefslogtreecommitdiff
path: root/query.zig
diff options
context:
space:
mode:
Diffstat (limited to 'query.zig')
-rw-r--r--query.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/query.zig b/query.zig
index 647dc3e..2f33188 100644
--- a/query.zig
+++ b/query.zig
@@ -106,7 +106,7 @@ pub fn ParsedQuery(comptime query: []const u8) ParsedQueryState(query.len) {
106 if (!isNamedIdentifierChar(c)) { 106 if (!isNamedIdentifierChar(c)) {
107 // This marks the end of the named bind marker. 107 // This marks the end of the named bind marker.
108 state = .start; 108 state = .start;
109 const name = buf[hold_pos..pos - 1]; 109 const name = buf[hold_pos .. pos - 1];
110 if (bindMarkerForName(bind_markers[0..nb_bind_markers], name) == null) { 110 if (bindMarkerForName(bind_markers[0..nb_bind_markers], name) == null) {
111 bind_markers[nb_bind_markers].name = name; 111 bind_markers[nb_bind_markers].name = name;
112 nb_bind_markers += 1; 112 nb_bind_markers += 1;