aboutsummaryrefslogtreecommitdiff
path: root/intf
diff options
context:
space:
mode:
authormdenes2013-07-10 12:22:21 +0000
committermdenes2013-07-10 12:22:21 +0000
commite97e56bcb2e7312d27232117180dbb7bddd67fe7 (patch)
treebdb3e3b17cafea4676d943deef1741ab6d933d48 /intf
parent0f281377613d77752289f5d9ce100a25d724df61 (diff)
Added a Register Inline command for the native compiler. Will be ported to the VM
too. Almost only a new grammar entry since the inlining machinery was already implemented. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16623 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'intf')
-rw-r--r--intf/vernacexpr.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/intf/vernacexpr.mli b/intf/vernacexpr.mli
index 138ef5cbbe..f0f565b53d 100644
--- a/intf/vernacexpr.mli
+++ b/intf/vernacexpr.mli
@@ -203,6 +203,11 @@ type scheme =
| CaseScheme of bool * reference or_by_notation * sort_expr
| EqualityScheme of reference or_by_notation
+(* This type allows to register inline of constants in native compiler.
+ It will be extended with primitive inductive types and operators *)
+type register_kind =
+ | RegisterInline
+
type bullet =
| Dash
| Star
@@ -373,6 +378,7 @@ type vernac_expr =
| VernacPrint of printable
| VernacSearch of searchable * search_restriction
| VernacLocate of locatable
+ | VernacRegister of lident * register_kind
| VernacComments of comment list
| VernacNop