Skip to content
Snippets Groups Projects
Commit c27599ba authored by Guillaume Melquiond's avatar Guillaume Melquiond
Browse files

Fix unbalanced tag on end of file.

parent 7bd6ab03
No related branches found
No related tags found
No related merge requests found
...@@ -124,8 +124,9 @@ rule scan fmt empty delayed = parse ...@@ -124,8 +124,9 @@ rule scan fmt empty delayed = parse
comment fmt true lexbuf; comment fmt true lexbuf;
pp_print_string fmt "</span>"; pp_print_string fmt "</span>";
scan fmt false delayed lexbuf } scan fmt false delayed lexbuf }
| eof { if delayed <> "" then | eof { pp_print_string fmt "</pre>\n";
fprintf fmt "</pre>\n<div class=\"info\">%s</div>" delayed } if delayed <> "" then
fprintf fmt "<div class=\"info\">%s</div>" delayed }
| ident as s | ident as s
{ print_ident fmt lexbuf s; { print_ident fmt lexbuf s;
scan fmt false delayed lexbuf } scan fmt false delayed lexbuf }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment