aboutsummaryrefslogtreecommitdiff
path: root/parsing
diff options
context:
space:
mode:
authormsozeau2008-09-03 00:03:32 +0000
committermsozeau2008-09-03 00:03:32 +0000
commit4da5cd28c6080ceeb66acc2163cf10a43e8bcade (patch)
tree234a9ce79d2482d782c13caccbfda544edb607d9 /parsing
parent17550e80aa0c7fbeaec13d46629c92de6967b1d1 (diff)
Correct handling of implicit arguments in [Equations] definitions,
support for "where" notation declarations as well. Better checking of recursivity or not, after type-checking. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11354 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_vernac.ml43
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 5f656ed5c2..c9fc4e2ffb 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -46,6 +46,7 @@ let noedit_mode = Gram.Entry.create "vernac:noedit_command"
let class_rawexpr = Gram.Entry.create "vernac:class_rawexpr"
let thm_token = Gram.Entry.create "vernac:thm_token"
let def_body = Gram.Entry.create "vernac:def_body"
+let decl_notation = Gram.Entry.create "vernac:decl_notation"
let typeclass_context = Gram.Entry.create "vernac:typeclass_context"
let of_type_with_opt_coercion = Gram.Entry.create "vernac:of_type_with_opt_coercion"
@@ -119,7 +120,7 @@ let no_coercion loc (c,x) =
(* Gallina declarations *)
GEXTEND Gram
GLOBAL: gallina gallina_ext thm_token def_body of_type_with_opt_coercion
- typeclass_context typeclass_constraint;
+ typeclass_context typeclass_constraint decl_notation;
gallina:
(* Definition, Theorem, Variable, Axiom, ... *)