aboutsummaryrefslogtreecommitdiff
path: root/plugins/ltac/tacintern.ml
diff options
context:
space:
mode:
authorMatthieu Sozeau2017-07-28 15:31:28 +0200
committerMatthieu Sozeau2019-02-08 10:55:51 +0100
commitc039d78bd098a499a34038e64bd1e5fbe280d7f3 (patch)
tree8bcc7cd765321a9df77c3888bd3d3a28a35438f2 /plugins/ltac/tacintern.ml
parent46b671c7473385ec7747a796e85b3cf704d000c6 (diff)
locus: Add an AtLeastOneOccurrence constructor.
The semantics is obviously that it is an error if not at least one occurrence is found (natural semantics for rewriting for example).
Diffstat (limited to 'plugins/ltac/tacintern.ml')
-rw-r--r--plugins/ltac/tacintern.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ltac/tacintern.ml b/plugins/ltac/tacintern.ml
index a1e21aab04..543d4de0fe 100644
--- a/plugins/ltac/tacintern.ml
+++ b/plugins/ltac/tacintern.ml
@@ -557,7 +557,7 @@ let rec intern_atomic lf ist x =
| _ -> false
in
let is_onconcl = match cl.concl_occs with
- | AllOccurrences | NoOccurrences -> true
+ | AtLeastOneOccurrence | AllOccurrences | NoOccurrences -> true
| _ -> false
in
TacChange (None,