]> matita.cs.unibo.it Git - helm.git/commitdiff
The dependencies parser is more robust w.r.t. to lexing errors.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 18 Jul 2006 11:01:41 +0000 (11:01 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 18 Jul 2006 11:01:41 +0000 (11:01 +0000)
helm/software/components/grafite_parser/dependenciesParser.ml

index 74cf0aa774333592b5ed396aab97581a38cd678b..e07d4ec031e972e33a409f30fa73659638c03c1a 100644 (file)
@@ -55,7 +55,8 @@ let parse_dependencies lexbuf =
     | [< 'tok >] -> parse acc
     | [<  >] -> acc) tok_stream
    with
-    Stream.Error _ -> parse acc
+      Stream.Error _ -> parse acc
+    | CicNotationLexer.Error _ -> parse acc
   in
   List.rev (parse [])