]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_parser/grafiteParser.mli
dead code removal: the parser used to be able to return LNone when it
[helm.git] / matita / components / grafite_parser / grafiteParser.mli
index 3e3f40e13183d3fbd10e8bcef2b2e3f8365adf9a..888b7394249b148313929ba702f09726f0a609b3 100644 (file)
  * http://helm.cs.unibo.it/
  *)
 
-type 'a localized_option =
-   LSome of 'a
- | LNone of GrafiteAst.loc
-
 type ast_statement = GrafiteAst.statement
 
 type db 
@@ -53,7 +49,4 @@ val extend : #status as 'status ->
  (* never_include: do not call LexiconEngine to do includes, 
   * always raise NoInclusionPerformed *) 
 (** @raise End_of_file *)
-val parse_statement: 
-  #status ->
-  Ulexing.lexbuf -> 
-    ast_statement localized_option
+val parse_statement: #status -> Ulexing.lexbuf -> ast_statement