aboutsummaryrefslogtreecommitdiffhomepage
path: root/intf
diff options
context:
space:
mode:
authorGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-10-31 17:10:23 +0000
committerGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-10-31 17:10:23 +0000
commitd97cd41db7786ee5172bb00fa2efd1c25ce44a4e (patch)
tree3e369e1b1263f5b252633eeb6dc99003ee0357ec /intf
parentd214946779d440a2cca8053bd52f35ac748f2823 (diff)
Change [Hints Resolve] to still accept constrs as arguments
to maintain compatibility, the term is then declared as a constant internally. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15948 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'intf')
-rw-r--r--intf/vernacexpr.mli8
1 files changed, 6 insertions, 2 deletions
diff --git a/intf/vernacexpr.mli b/intf/vernacexpr.mli
index 97080fdad..f1eebc18e 100644
--- a/intf/vernacexpr.mli
+++ b/intf/vernacexpr.mli
@@ -102,9 +102,13 @@ type comment =
| CommentString of string
| CommentInt of int
+type reference_or_constr =
+ | HintsReference of reference
+ | HintsConstr of constr_expr
+
type hints_expr =
- | HintsResolve of (int option * bool * reference) list
- | HintsImmediate of reference list
+ | HintsResolve of (int option * bool * reference_or_constr) list
+ | HintsImmediate of reference_or_constr list
| HintsUnfold of reference list
| HintsTransparency of reference list * bool
| HintsConstructors of reference list