Commit 702075d2 authored by François Bobot's avatar François Bobot

RC : a commentary can end with eof

parent 1e1cd66b
......@@ -256,7 +256,7 @@ let escape = ['\\''"''n''t''r']
rule record = parse
| space
{ record lexbuf }
| '#' [^'\n']* '\n'
| '#' [^'\n']* ('\n' | eof)
{ record lexbuf }
| '[' (ident as key) space*
{ header [key] lexbuf }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment