Commit c27599ba authored by Guillaume Melquiond's avatar Guillaume Melquiond

Fix unbalanced tag on end of file.

parent 7bd6ab03
......@@ -124,8 +124,9 @@ rule scan fmt empty delayed = parse
comment fmt true lexbuf;
pp_print_string fmt "</span>";
scan fmt false delayed lexbuf }
| eof { if delayed <> "" then
fprintf fmt "</pre>\n<div class=\"info\">%s</div>" delayed }
| eof { pp_print_string fmt "</pre>\n";
if delayed <> "" then
fprintf fmt "<div class=\"info\">%s</div>" delayed }
| ident as s
{ print_ident fmt lexbuf s;
scan fmt false delayed 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