aboutsummaryrefslogtreecommitdiffhomepage
path: root/grammar
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-03-22 19:31:18 +0100
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-03-22 19:34:01 +0100
commit947d93a8b7ff0fc7ba23633fcd44820427e29326 (patch)
tree8257bdccc135ec71108ebfa1fc212951c9271abf /grammar
parent8b73fd7c6ce423f8c8a2594e90200f2407795d52 (diff)
Better compatibility of TACTIC EXTEND AT LEVEL with versions of camlp5.
This adds at least support for camlp5 6.14 (in addition to 6.17).
Diffstat (limited to 'grammar')
-rw-r--r--grammar/tacextend.mlp2
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar/tacextend.mlp b/grammar/tacextend.mlp
index 33ca2c629..8c0614a7b 100644
--- a/grammar/tacextend.mlp
+++ b/grammar/tacextend.mlp
@@ -135,7 +135,7 @@ EXTEND
GLOBAL: str_item;
str_item:
[ [ "TACTIC"; "EXTEND"; s = tac_name;
- level = OPT [ "AT"; "LEVEL"; level = INT -> level ];
+ level = OPT [ "AT"; UIDENT "LEVEL"; level = INT -> level ];
c = OPT [ "CLASSIFIED"; "BY"; c = LIDENT -> <:expr< $lid:c$ >> ];
OPT "|"; l = LIST1 tacrule SEP "|";
"END" ->