aboutsummaryrefslogtreecommitdiff
path: root/user-contrib
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-02-19 14:12:51 +0100
committerPierre-Marie Pédrot2020-02-19 14:20:32 +0100
commit5360fb1202375d90adde5c8ba6700098e57bed53 (patch)
tree72608e908e70ae879d1387c248e97de11404d03b /user-contrib
parent43c3c7d6f62a9bee4772242c27fbafd54770d271 (diff)
Fix #11552: Ltac2 breaks query commands during proofs.
Actually, callers of the Pvernac.register_proof_mode function have to manually register the parsing of vernacular queries themselves. This probably qualifies as an oversight from myself.
Diffstat (limited to 'user-contrib')
-rw-r--r--user-contrib/Ltac2/g_ltac2.mlg6
1 files changed, 6 insertions, 0 deletions
diff --git a/user-contrib/Ltac2/g_ltac2.mlg b/user-contrib/Ltac2/g_ltac2.mlg
index c1bd585f3f..d05640f22d 100644
--- a/user-contrib/Ltac2/g_ltac2.mlg
+++ b/user-contrib/Ltac2/g_ltac2.mlg
@@ -948,6 +948,12 @@ VERNAC { tac2mode } EXTEND VernacLtac2
fun ~pstate -> Tac2entries.call ~pstate ~default t }
END
+GRAMMAR EXTEND Gram
+ GLOBAL: tac2mode;
+ tac2mode:
+ [ [ tac = G_vernac.query_command -> { tac None } ] ];
+END
+
{
open Stdarg