aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/cc/cc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/cc/cc.h')
-rw-r--r--sys/cmd/cc/cc.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/sys/cmd/cc/cc.h b/sys/cmd/cc/cc.h
index 0e525be..f5d3d28 100644
--- a/sys/cmd/cc/cc.h
+++ b/sys/cmd/cc/cc.h
@@ -179,12 +179,13 @@ enum
NUM_TOKENS,
Vchar = iota(8),
- Vint = iota(9),
- Vlong = iota(10),
- Vvlong = iota(11),
- Vusgn = iota(12),
- Vfloat = iota(13),
- Vstr = iota(14),
+ Vrune = iota(9),
+ Vint = iota(10),
+ Vlong = iota(11),
+ Vvlong = iota(12),
+ Vun = iota(13),
+ Vfloat = iota(14),
+ Vstr = iota(15),
Vmask = Vchar - 1,
};
@@ -202,8 +203,9 @@ struct Token
double f;
vlong i;
uvlong ui;
- byte c;
- ubyte uc;
+ int32 c;
+ uint32 uc;
+ rune r;
} val;
};