aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/gallina_lexer.mll2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gallina_lexer.mll b/tools/gallina_lexer.mll
index aacc688024..b47a04b2c1 100644
--- a/tools/gallina_lexer.mll
+++ b/tools/gallina_lexer.mll
@@ -51,7 +51,7 @@ rule action = parse
cRcpt := 0; action lexbuf }
| [' ' '\t']* '\n' { if !cRcpt < 2 then print "\n";
cRcpt := !cRcpt+1; action lexbuf}
- | eof { raise Fin_fichier}
+ | eof { (raise Fin_fichier : unit)}
| _ { print (Lexing.lexeme lexbuf); cRcpt := 0; action lexbuf }
and comment = parse