summaryrefslogtreecommitdiff
path: root/tools/gallina_lexer.mll
diff options
context:
space:
mode:
authorGravatar Stephane Glondu <steph@glondu.net>2008-08-08 13:18:42 +0200
committerGravatar Stephane Glondu <steph@glondu.net>2008-08-08 13:18:42 +0200
commit870075f34dd9fa5792bfbf413afd3b96f17e76a0 (patch)
tree0c647056de1832cf1dba5ba58758b9121418e4be /tools/gallina_lexer.mll
parenta0cfa4f118023d35b767a999d5a2ac4b082857b4 (diff)
Imported Upstream version 8.2~beta4+dfsgupstream/8.2.beta4+dfsg
Diffstat (limited to 'tools/gallina_lexer.mll')
-rw-r--r--tools/gallina_lexer.mll4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gallina_lexer.mll b/tools/gallina_lexer.mll
index 0b769dbd..7eaec2a8 100644
--- a/tools/gallina_lexer.mll
+++ b/tools/gallina_lexer.mll
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(* $Id: gallina_lexer.mll 5920 2004-07-16 20:01:26Z herbelin $ *)
+(* $Id: gallina_lexer.mll 11301 2008-08-04 19:41:18Z herbelin $ *)
{
open Lexing
@@ -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