X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_disambiguation%2Ftest_lexer.ml;h=3e61e702c0f33bc046931f76320b1fa93477d0fa;hb=12cc5b2b8e7f7bb0b5e315094b008a293a4df6b1;hp=2c43357499569f1a6d8fabe6e749a02c8f66be1e;hpb=358d1d55044347255aacb8daf03de0dbb18bc668;p=helm.git diff --git a/helm/ocaml/cic_disambiguation/test_lexer.ml b/helm/ocaml/cic_disambiguation/test_lexer.ml index 2c4335749..3e61e702c 100644 --- a/helm/ocaml/cic_disambiguation/test_lexer.ml +++ b/helm/ocaml/cic_disambiguation/test_lexer.ml @@ -28,7 +28,9 @@ let ic = open_in Sys.argv.(1) with Invalid_argument _ -> stdin in -let token_stream = fst (Lexer.lex.Token.tok_func (Stream.of_channel ic)) in +let token_stream = + fst ((CicTextualLexer2.cic_lexer ()).Token.tok_func (Stream.of_channel ic)) +in let rec dump () = let (a,b) = Stream.next token_stream in if a = "EOI" then raise Stream.Failure;