diff options
author | 2004-11-22 12:41:18 +0000 | |
---|---|---|
committer | 2004-11-22 12:41:18 +0000 | |
commit | c32fcecf66ce658b7bb592775ec046e615c6bc51 (patch) | |
tree | 7f0a2beea8d1862bc5bcec45452c4e45e6aff8f1 /parsing/egrammar.mli | |
parent | 50c8b025a4e3ecc35c340835d6991a02f2a463c5 (diff) |
Correction bug Notation: il faut re-déclarer les règles de parsing des notations au moment de la déclaration d'interprétation car la règle de parsing peut être dans un autre fichier qui n'est pas importé
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6340 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/egrammar.mli')
-rw-r--r-- | parsing/egrammar.mli | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/parsing/egrammar.mli b/parsing/egrammar.mli index b6844e547..f54b31484 100644 --- a/parsing/egrammar.mli +++ b/parsing/egrammar.mli @@ -19,10 +19,11 @@ open Rawterm open Mod_subst (*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 Symbols.level * notation_grammar | Grammar of grammar_command | TacticGrammar of (string * (string * grammar_production list) * @@ -53,3 +54,5 @@ val subst_all_grammar_command : val interp_entry_name : string -> string -> entry_type * Token.t Gramext.g_symbol + +val recover_notation_grammar : notation -> Symbols.level -> notation_grammar |