New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make focus command and goal selection for query commands independent of ltac1 #18707
Conversation
dc8dfbf
to
6c416d5
Compare
It doesn't factorize properly, not sure how to fix. |
6c416d5
to
1af23bf
Compare
| g = OPT toplevel_selector; "{" -> { Vernacexpr.VernacSynPure (Vernacexpr.VernacSubproof g) } ] ] | ||
[ [ p = subprf -> { Vernacexpr.VernacSynPure p } | ||
| g = OPT toplevel_selector; p = subprf_with_selector -> { Vernacexpr.VernacSynPure (p g) } | ||
] ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe adding these 2 rules could/should be automated in register_proof_mode? Not in this PR though I think.
I think it works now, although the proof modes need to manually coordinate so eg it won't automatically work with mtac2 (but should be easy to adapt mtac2?) |
1af23bf
to
91f0525
Compare
@coqbot run full ci |
Test suite failure is because an interp time error became a parsing error (which can't be caught by Fail). We just need to turn the test into an output test. |
91f0525
to
ed323a1
Compare
@coqbot merge now |
@ppedrot: Please take care of the following overlays:
|
Adapt to coq/coq#18707 (proof mode needs to cooperate with subprf grammar)
Fix #18351
Fix #12004
Overlays: