TacticAst.Constructor (loc,int_of_string n)
| IDENT "contradiction" ->
TacticAst.Contradiction loc
- | IDENT "cut"; t = tactic_term ->
- TacticAst.Cut (loc, t)
+ | IDENT "cut"; t = tactic_term; ident = OPT [ "as"; id = IDENT -> id] ->
+ TacticAst.Cut (loc, ident, t)
| IDENT "decide"; IDENT "equality" ->
TacticAst.DecideEquality loc
| IDENT "decompose"; where = term ->