Skip to content

Commit

Permalink
Adapt to coq/coq#18224
Browse files Browse the repository at this point in the history
  • Loading branch information
proux01 committed Nov 10, 2023
1 parent 6d29336 commit eeca1a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/topology.v
Original file line number Diff line number Diff line change
Expand Up @@ -970,9 +970,9 @@ Tactic Notation "near:" ident(x) :=
else fail "the goal depends on variables introduced after" x.

Ltac under_near i tac := near=> i; tac; near: i.
Tactic Notation "near=>" ident(i) "do" tactic1(tac) := under_near i ltac:(tac).
Tactic Notation "near=>" ident(i) "do" tactic3(tac) := under_near i ltac:(tac).
Tactic Notation "near=>" ident(i) "do" "[" tactic4(tac) "]" := near=> i do tac.
Tactic Notation "near" "do" tactic1(tac) :=
Tactic Notation "near" "do" tactic3(tac) :=
let i := fresh "i" in under_near i ltac:(tac).
Tactic Notation "near" "do" "[" tactic4(tac) "]" := near do tac.

Expand Down

0 comments on commit eeca1a3

Please sign in to comment.