summaryrefslogtreecommitdiff
path: root/parse/types.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@odin.theasylum>2011-11-05 01:32:46 -0400
committerOri Bernstein <ori@odin.theasylum>2011-11-05 01:34:58 -0400
commit76d42756c93a7f8e1519268b8eb693ba36db4652 (patch)
treecd51bfe84f24f8aba6fd4aaf0885cb03b0e13f73 /parse/types.def
downloadmc-76d42756c93a7f8e1519268b8eb693ba36db4652.tar.gz
Initial commit
Diffstat (limited to 'parse/types.def')
-rw-r--r--parse/types.def41
1 files changed, 41 insertions, 0 deletions
diff --git a/parse/types.def b/parse/types.def
new file mode 100644
index 0000000..aea6614
--- /dev/null
+++ b/parse/types.def
@@ -0,0 +1,41 @@
+Ty(Tybad)
+Ty(Tyvoid)
+
+/* start integer types.
+ * Keep them ordered between start
+ * and end for faster
+ * comparisons.*/
+Ty(Tybool)
+Ty(Tychar)
+
+Ty(Tyint8)
+Ty(Tyint16)
+Ty(Tyint)
+Ty(Tyint32)
+Ty(Tyint64)
+Ty(Tylong)
+
+Ty(Tybyte)
+Ty(Tyuint8)
+Ty(Tyuint16)
+Ty(Tyuint)
+Ty(Tyuint32)
+Ty(Tyuint64)
+Ty(Tyulong)
+/*end integer types*/
+Ty(Tyfloat32)
+Ty(Tyfloat64)
+Ty(Tyvalist)
+/*end numerical types*/
+Ty(Typtr)
+Ty(Tyslice)
+Ty(Tyarray)
+Ty(Tyfunc)
+Ty(Tytuple)
+Ty(Tyvar)
+Ty(Typaram)
+Ty(Tyname)
+Ty(Tystruct)
+Ty(Tyunion)
+Ty(Tyenum)
+