summaryrefslogtreecommitdiff
path: root/parsing/egrammar.mli
diff options
context:
space:
mode:
authorGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2005-01-31 14:34:14 +0000
committerGravatar Samuel Mimram <samuel.mimram@ens-lyon.org>2005-01-31 14:34:14 +0000
commite669490d0d5e6ed4bb45c895194791f01d038637 (patch)
tree4eb40b447e6573dbaa1cf593a2cae6758850cb7c /parsing/egrammar.mli
parentd334716fb2d09dd3304f98ee0dbf39275eac010b (diff)
parent6497f27021fec4e01f2182014f2bb1989b4707f9 (diff)
Merge commit 'upstream/8.0pl2'
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