summaryrefslogtreecommitdiff
path: root/parsing/egrammar.mli
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/egrammar.mli')
-rw-r--r--parsing/egrammar.mli13
1 files changed, 9 insertions, 4 deletions
diff --git a/parsing/egrammar.mli b/parsing/egrammar.mli
index c601c5fc..0009b4b6 100644
--- a/parsing/egrammar.mli
+++ b/parsing/egrammar.mli
@@ -6,7 +6,7 @@
(* * GNU Lesser General Public License Version 2.1 *)
(************************************************************************)
-(*i $Id: egrammar.mli,v 1.14.2.2 2004/07/16 19:30:37 herbelin Exp $ i*)
+(*i $Id: egrammar.mli,v 1.14.2.5 2004/11/27 09:25:44 herbelin Exp $ i*)
(*i*)
open Util
@@ -14,14 +14,16 @@ open Topconstr
open Ast
open Coqast
open Vernacexpr
+open Ppextend
open Extend
open Rawterm
(*i*)
+type notation_grammar =
+ int * Gramext.g_assoc option * notation * prod_item list * int list option
+
type all_grammar_command =
- | Notation of
- (int * Gramext.g_assoc option * notation * prod_item list *
- int list option)
+ | Notation of (precedence * tolerability list) * notation_grammar
| Grammar of grammar_command
| TacticGrammar of
(string * (string * grammar_production list) *
@@ -52,3 +54,6 @@ val subst_all_grammar_command :
val interp_entry_name : string -> string ->
entry_type * Token.t Gramext.g_symbol
+
+val recover_notation_grammar :
+ notation -> (precedence * tolerability list) -> notation_grammar