]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/components/grafite_parser/grafiteParser.mli
Bug "fixed" (i.e avoided).
[helm.git] / matita / components / grafite_parser / grafiteParser.mli
index 2b458fdf80f7501a6833ba0c9d7c304db74d9533..1d006437928afb15223effad0862e6c0f3eb5055 100644 (file)
@@ -31,7 +31,7 @@ class type g_status =
   method parser_db: db
  end
 
-class status :
+class virtual status :
  object('self)
   inherit g_status
   inherit CicNotationParser.status
@@ -47,4 +47,7 @@ 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 -> GrafiteAst.statement
+type parsable
+val parsable_statement: #status -> Ulexing.lexbuf -> parsable
+val parse_statement: #status -> parsable -> GrafiteAst.statement
+val strm_of_parsable: parsable -> Ulexing.lexbuf