summaryrefslogtreecommitdiff
path: root/y_tab.h
diff options
context:
space:
mode:
authorLua Team <team@lua.org>1993-07-28 12:00:00 +0000
committerrepogen <>1993-07-28 12:00:00 +0000
commit8b5979a7e8b9732aa2883d2384f853d87b594770 (patch)
treef2f23a63f14744c612f4cf2e52497352a3d8ef53 /y_tab.h
downloadlua-github-1.0.tar.gz
Lua 1.01.0
Diffstat (limited to 'y_tab.h')
-rw-r--r--y_tab.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/y_tab.h b/y_tab.h
new file mode 100644
index 00000000..b973d540
--- /dev/null
+++ b/y_tab.h
@@ -0,0 +1,35 @@
+
+typedef union
+{
+ int vInt;
+ long vLong;
+ float vFloat;
+ Word vWord;
+ Byte *pByte;
+} YYSTYPE;
+extern YYSTYPE yylval;
+# define NIL 257
+# define IF 258
+# define THEN 259
+# define ELSE 260
+# define ELSEIF 261
+# define WHILE 262
+# define DO 263
+# define REPEAT 264
+# define UNTIL 265
+# define END 266
+# define RETURN 267
+# define LOCAL 268
+# define NUMBER 269
+# define FUNCTION 270
+# define NAME 271
+# define STRING 272
+# define DEBUG 273
+# define NOT 274
+# define AND 275
+# define OR 276
+# define NE 277
+# define LE 278
+# define GE 279
+# define CONC 280
+# define UNARY 281