diff options
| author | Michael Soegtrop | 2020-11-04 21:15:26 +0100 |
|---|---|---|
| committer | Michael Soegtrop | 2020-11-04 21:15:26 +0100 |
| commit | b65e9e9b993930dc5e653a9a1210edcaadbd1537 (patch) | |
| tree | 5acc63968c526ec7b4825c342f434acc0e5c01d9 /doc/tools/docgram/common.edit_mlg | |
| parent | 7f90e6e0aa8dd27c64bac0dbc4b247ebb33d4aca (diff) | |
| parent | 1b0e754ccf22cc1a7ae50a7b1d8350197ec2981b (diff) | |
Merge PR #13232: Adding an if-then-else syntax to Ltac2.
Reviewed-by: MSoegtropIMC
Ack-by: Zimmi48
Reviewed-by: jfehrle
Diffstat (limited to 'doc/tools/docgram/common.edit_mlg')
| -rw-r--r-- | doc/tools/docgram/common.edit_mlg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/tools/docgram/common.edit_mlg b/doc/tools/docgram/common.edit_mlg index f6a684bbd7..a143a6c7cf 100644 --- a/doc/tools/docgram/common.edit_mlg +++ b/doc/tools/docgram/common.edit_mlg @@ -2198,6 +2198,7 @@ ltac2_expr5: [ | REPLACE "let" OPT "rec" LIST1 ltac2_let_clause SEP "with" "in" ltac2_expr6 (* Ltac2 plugin *) | WITH "let" OPT "rec" ltac2_let_clause LIST0 ( "with" ltac2_let_clause ) "in" ltac2_expr6 TAG Ltac2 | MOVETO simple_tactic "match" ltac2_expr5 "with" OPT ltac2_branches "end" (* Ltac2 plugin *) +| MOVETO simple_tactic "if" ltac2_expr5 "then" ltac2_expr5 "else" ltac2_expr5 (* Ltac2 plugin *) | DELETE simple_tactic ] |
