aboutsummaryrefslogtreecommitdiff
path: root/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'token.h')
-rw-r--r--token.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/token.h b/token.h
new file mode 100644
index 0000000..20bfa3f
--- /dev/null
+++ b/token.h
@@ -0,0 +1,46 @@
+/* limit on total characters */
+#define LIMIT1 5000
+
+/* limit on number of unique strings */
+#define LIMIT2 1000
+
+#define ANDnum 257
+#define ASSGNnum 258
+#define DECLARATIONSnum 259
+#define DOTnum 260
+#define ENDDECLARATIONSnum 261
+#define EQUALnum 262
+#define GTnum 263
+#define IDnum 264
+#define INTnum 265
+#define LBRACnum 266
+#define LPARENnum 267
+#define METHODnum 268
+#define NEnum 269
+#define ORnum 270
+#define PROGRAMnum 271
+#define RBRACnum 272
+#define RPARENnum 273
+#define SEMInum 274
+#define VALnum 275
+#define WHILEnum 276
+#define CLASSnum 277
+#define COMMAnum 278
+#define DIVIDEnum 279
+#define ELSEnum 280
+#define EQnum 281
+#define GEnum 282
+#define ICONSTnum 283
+#define IFnum 284
+#define LBRACEnum 285
+#define LEnum 286
+#define LTnum 287
+#define MINUSnum 288
+#define NOTnum 289
+#define PLUSnum 290
+#define RBRACEnum 291
+#define RETURNnum 292
+#define SCONSTnum 293
+#define TIMESnum 294
+#define VOIDnum 295
+#define EOFnum 0