From 3121030a2a3d1e5b7d84d6ea003abbb504f769fe Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Fri, 29 Nov 2019 15:28:32 +0100 Subject: [PATCH] fix error on notice --- src/lexer.ml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lexer.ml b/src/lexer.ml index 6b60391..7e5c14e 100644 --- a/src/lexer.ml +++ b/src/lexer.ml @@ -45,6 +45,8 @@ and line_content buf = Notice (extract_notice (lxm buf)) | " * ", any_except_eol, eol -> Action (extract_action (lxm buf)) + | " -", any_except_eol, "- ", any_except_eol, eol -> + Notice "TODO" | _ -> failwith "unexpected character (line_content)"