aboutsummaryrefslogtreecommitdiff
path: root/parsing
diff options
context:
space:
mode:
authorGaëtan Gilbert2017-09-27 16:54:41 +0200
committerGaëtan Gilbert2017-10-10 23:50:25 +0200
commit74826c1869a423b4e7224d3f69180584bdef1726 (patch)
tree961375ac1a3e386271eaa2b33a49349f38e12fed /parsing
parenta627891e0505e7da7afcb56c79d2058ebf058694 (diff)
Parse [Proof using Type] without translating Type to an id.
Diffstat (limited to 'parsing')
-rw-r--r--parsing/g_vernac.ml44
1 files changed, 2 insertions, 2 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 3e0b85b54a..a5b58b8553 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -580,8 +580,8 @@ GEXTEND Gram
starredidentref:
[ [ i = identref -> SsSingl i
| i = identref; "*" -> SsFwdClose(SsSingl i)
- | "Type" -> SsSingl (Loc.tag ~loc:!@loc @@ Id.of_string "Type")
- | "Type"; "*" -> SsFwdClose (SsSingl (Loc.tag ~loc:!@loc @@ Id.of_string "Type")) ]]
+ | "Type" -> SsType
+ | "Type"; "*" -> SsFwdClose SsType ]]
;
ssexpr:
[ "35"