Skip to content

Commit

Permalink
[ssr] Stop relying on camlp5 recovery mechanism
Browse files Browse the repository at this point in the history
for "do [tac] => intro" and "tac; [tac|..|tac] => intro"
  • Loading branch information
proux01 committed Oct 30, 2023
1 parent 7861b99 commit 6db7a0f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/ssr/ssrparser.mlg
Expand Up @@ -1717,7 +1717,10 @@ let tclintros_expr ?loc tac ipats =

GRAMMAR EXTEND Gram
GLOBAL: ltac_expr;
ltac_expr: LEVEL "1" [
ltac_expr: LEVEL "3" [
[ tac = ltac_expr; intros = ssrintros_ne -> { tclintros_expr ~loc tac intros }
] ];
ltac_expr: LEVEL "4" [
[ tac = ltac_expr; intros = ssrintros_ne -> { tclintros_expr ~loc tac intros }
] ];
END
Expand Down

0 comments on commit 6db7a0f

Please sign in to comment.