summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
authorKathy Gray2013-11-27 16:33:24 +0000
committerKathy Gray2013-11-27 16:33:24 +0000
commit2b30446b6d2c5ae4accb7e4d00e9af5426990aee (patch)
tree254aaaeaca0832c9837c67e09117026da9afe440 /src/parser.mly
parent994df0138776a9151b52c1210d4b0e57aafb4ced (diff)
More front-end passes for type identifiers
Diffstat (limited to 'src/parser.mly')
-rw-r--r--src/parser.mly4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parser.mly b/src/parser.mly
index c5f82508..ba796347 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -136,7 +136,7 @@ let star = "*"
/*Terminals with content*/
-%token <string> Id TickId TyId
+%token <string> Id TyVar TyId
%token <int> Num
%token <string> String Bin Hex
@@ -243,6 +243,8 @@ id:
tid:
| TyId
{ (idl (Id($1))) }
+ | TyVar
+ { (idl (Id($1))) }
atomic_kind:
| TYPE