aboutsummaryrefslogtreecommitdiff
path: root/token.h
diff options
context:
space:
mode:
authorSarah Elizabeth Higbee <Madchen@fq-130-49-43-231.wireless.pitt.edu>2017-03-14 12:28:34 -0400
committerSarah Elizabeth Higbee <Madchen@fq-130-49-43-231.wireless.pitt.edu>2017-03-14 12:28:34 -0400
commit1bb37b1f9f351100ff628cbfb56f6cf52925a2b3 (patch)
tree457884bdd2814304f1295cd23df7b912c790b495 /token.h
parent605fb8c0af874cb00b8b3060063ab297ce4410fb (diff)
downloadcoe1622-master.tar.gz
coe1622-master.tar.bz2
coe1622-master.zip
mah lexerHEADmaster
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