diff options
author | 2010-03-23 22:33:18 +0000 | |
---|---|---|
committer | 2010-03-23 22:33:18 +0000 | |
commit | 177f50c624caf811ff26642390c853f0fba1a106 (patch) | |
tree | 5053ccdac32d2d3e9407ac96283b2d43e517c9a8 /parsing/egrammar.mli | |
parent | ba124d6092143b3e76ec02aaf0b985eb50ad5e20 (diff) |
Added automatic expansion on the left of recursive notations
(currently only one expansion but could be virtually made user-parametrizable).
Also fixed a bug in recursive notations happening with multiple-tokens
separators (see Notations.v in test-suite).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12881 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/egrammar.mli')
-rw-r--r-- | parsing/egrammar.mli | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/parsing/egrammar.mli b/parsing/egrammar.mli index 14e4cfd37..1228b40cf 100644 --- a/parsing/egrammar.mli +++ b/parsing/egrammar.mli @@ -31,9 +31,12 @@ open Mod_subst type grammar_constr_prod_item = | GramConstrTerminal of Token.pattern | GramConstrNonTerminal of constr_prod_entry_key * identifier option + | GramConstrListMark of int * bool + (* tells action rule to make a list of the n previous parsed items; + concat with last parsed list if true *) type notation_grammar = - int * Gramext.g_assoc option * notation * grammar_constr_prod_item list + int * Gramext.g_assoc option * notation * grammar_constr_prod_item list list (* For tactic and vernac notations *) |