diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-12-02 18:49:51 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-12-02 18:49:51 +0000 |
commit | 9bfb8b1262e3e833a2df9917c3b1d7a2775693a3 (patch) | |
tree | f921fc5b1f12a19e4b69999ebd86c4bd62f47c6e /parsing/extend.mli | |
parent | 3e782e81b1bec6b34b3a172cb5b951f7ec101041 (diff) |
Re-déplacement du résultat de Grammar au niveau constr_expr
(globalisation uniquement des noms - sauf cases, fix, ..., pas
d'implicites, pas d'interprétation des scopes - pas plus robuste
qu'avant...).
Diverses améliorations affichage et parsing.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3350 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/extend.mli')
-rw-r--r-- | parsing/extend.mli | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/parsing/extend.mli b/parsing/extend.mli index 12d2ecc62..7398c7903 100644 --- a/parsing/extend.mli +++ b/parsing/extend.mli @@ -48,7 +48,7 @@ type prod_item = type grammar_rule = { gr_name : string; gr_production : prod_item list; - gr_action : aconstr } + gr_action : constr_expr } type grammar_entry = { ge_name : string; @@ -63,8 +63,9 @@ type grammar_associativity = Gramext.g_assoc option (* Globalisation and type-checking of Grammar actions *) type entry_context = identifier list -val to_act_check_vars : entry_context -> grammar_action -> aconstr -val set_ast_to_rawconstr : (entry_context -> constr_expr -> aconstr) -> unit + +val set_constr_globalizer : + (entry_context -> constr_expr -> constr_expr) -> unit type syntax_modifier = | SetItemLevel of string list * int |