forked from coq/coq
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove warning "overwriting-delimiting-key"
The delimiter is in fact not overwritten for parsing (ie both the old and new delimiters are accepted), it is only replaced for printing. IMO this means it's not worth warning about.
- Loading branch information
1 parent
8e6284f
commit b7b5e6e
Showing
6 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
(~~ false)%bool | ||
: bool | ||
(~~ false)%B | ||
: bool | ||
(~~ false)%B | ||
: bool | ||
(~~ false)%B | ||
: bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Reserved Notation "~~ b" (at level 35, right associativity). | ||
|
||
Notation "~~ b" := (negb b) : bool_scope. | ||
|
||
Check negb false. | ||
|
||
Delimit Scope bool_scope with B. | ||
|
||
Check negb false. | ||
|
||
(* %bool still works even if not used by printing *) | ||
Check (~~ false)%bool. | ||
Check (~~ false)%B. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters