diff options
Diffstat (limited to 'src/lexer.mll')
-rw-r--r-- | src/lexer.mll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexer.mll b/src/lexer.mll index 19af488..2053581 100644 --- a/src/lexer.mll +++ b/src/lexer.mll @@ -114,7 +114,7 @@ and strval s = parse | _ as c { strval (s ^ (String.make 1 c)) lexbuf } | eof { raise (Lexing_error "Unfinished string") } and short_comment = parse - | '\n' {} + | '\n' { newline lexbuf } | _ { short_comment lexbuf } | eof {} and long_comment = parse |