aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parsing/g_vernac.ml44
1 files changed, 3 insertions, 1 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 16af5ea976..243f72bf16 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -135,7 +135,9 @@ ident_comma_list_tail:
vardecls:
[ [ id = ident; idl = ident_comma_list_tail; c = type_option ->
LocalRawAssum (id::idl,c)
- | id = ident; [ "=" | ":=" ]; c = opt_casted_constr ->
+ | id = ident; "="; c = opt_casted_constr ->
+ LocalRawDef (id,c)
+ | id = ident; ":="; c = opt_casted_constr ->
LocalRawDef (id,c)
] ]
;