aboutsummaryrefslogtreecommitdiff
path: root/lib/qparser
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qparser')
-rw-r--r--lib/qparser/lexer.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/qparser/lexer.ml b/lib/qparser/lexer.ml
index da8acce..30d151b 100644
--- a/lib/qparser/lexer.ml
+++ b/lib/qparser/lexer.ml
@@ -198,6 +198,9 @@ let rec parse_token : Lexbuf.t -> token =
Lexbuf.start buffer;
LOCATION_START ident
+ | '_', Star space, eol, Star space ->
+ (* The _ character can be used to break lines *)
+ parse_token buffer
| '-', Plus '-', Star (Sub (any, ('\r' | '\n'))) ->
leave_expression buffer;
LOCATION_END