diff options
author | Chimrod <> | 2024-12-23 16:39:22 +0100 |
---|---|---|
committer | Chimrod <> | 2024-12-25 21:42:18 +0100 |
commit | 706e2132e443ed422912264f0401ee607d1d2ef5 (patch) | |
tree | e638f578c2e733f7e77b7fb119d2a549c4dbdfb0 /lib/qparser/lexer.ml | |
parent | cd25e70d1623ac5bd50be1ca2b30db793063c1cc (diff) |
Found a bug in the string interpretation
Diffstat (limited to 'lib/qparser/lexer.ml')
-rw-r--r-- | lib/qparser/lexer.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qparser/lexer.ml b/lib/qparser/lexer.ml index 42f3c1c..814c97f 100644 --- a/lib/qparser/lexer.ml +++ b/lib/qparser/lexer.ml @@ -147,10 +147,10 @@ let rec read_quoted_string : Lexbuf.stringWraper -> Lexbuf.buffer_builder = result) else ( Buffer.add_string buf (Lexbuf.content buffer); - (f.wrap (read_quoted_string f)) buf buffer) + (f.wrap ~nested (read_quoted_string f)) buf buffer) | eol | any -> Buffer.add_string buf (Lexbuf.content buffer); - (f.wrap (read_quoted_string f)) buf buffer + (f.wrap ~nested (read_quoted_string f)) buf buffer | _ -> raise Not_found (** Track the kind of nested string inside a multiline string inside a |