diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2020-02-10 16:28:02 (GMT) |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2020-02-26 11:12:19 (GMT) |
commit | b6992203f7807f9b7d3076f3efff7eb76ad1be2d (patch) | |
tree | 565bf1285a157189d6bda372620482bea8689e57 /test-suite | |
parent | 7f821a5bc11a766fb358770d43ae22d769bb4dbc (diff) | |
download | coq-b6992203f7807f9b7d3076f3efff7eb76ad1be2d.zip coq-b6992203f7807f9b7d3076f3efff7eb76ad1be2d.tar.gz coq-b6992203f7807f9b7d3076f3efff7eb76ad1be2d.tar.bz2 |
Fix #11549: Ltac2 is incompatible with $.
We use the same kind of trick as the one we used for &IDENT, namely check
that no space appear between the dollar sign and the identifier.
(cherry picked from commit 059da3541f54311283067cb3010b539506cb70bd)
Diffstat (limited to 'test-suite')
-rw-r--r-- | test-suite/bugs/closed/bug_11549.v | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_11549.v b/test-suite/bugs/closed/bug_11549.v new file mode 100644 index 0000000..7608e1c --- /dev/null +++ b/test-suite/bugs/closed/bug_11549.v @@ -0,0 +1,5 @@ +From Ltac2 Require Ltac2. + +Notation "t $ r" := (t r) + (at level 65, right associativity, only parsing). +Check S $ O. |