diff options
author | Chimrod <> | 2025-03-24 14:53:54 +0100 |
---|---|---|
committer | Chimrod <> | 2025-03-24 14:53:54 +0100 |
commit | 682a09b377ae85de6b59b481af4b7d0812f4b456 (patch) | |
tree | da627b5ab15bd9b72200c96638aee2ef31c5aa98 /lib/qparser/lexer.ml | |
parent | 23bcff2eaf5938acc04507636698c034c4767a1e (diff) |
In case of identified error, leave the state properly at the end of the location
Diffstat (limited to 'lib/qparser/lexer.ml')
-rw-r--r-- | lib/qparser/lexer.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/qparser/lexer.ml b/lib/qparser/lexer.ml index 470cdc7..0bd214a 100644 --- a/lib/qparser/lexer.ml +++ b/lib/qparser/lexer.ml @@ -347,7 +347,6 @@ let rec discard buffer = We are here because an error was raised, so can have any situation (for example a missing quote). *) - leave_expression buffer; - () + Lexbuf.clear_state buffer | any -> discard buffer | _ -> raise EOF |