aboutsummaryrefslogtreecommitdiffstats
path: root/evaluator.c
diff options
context:
space:
mode:
Diffstat (limited to 'evaluator.c')
-rw-r--r--evaluator.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/evaluator.c b/evaluator.c
index c4dc78c..6a99041 100644
--- a/evaluator.c
+++ b/evaluator.c
@@ -100,6 +100,16 @@ typedef enum {
T_FUNCTION
} TOKEN;
+static char *tokenNames[] = {
+ "undef",
+ "Name",
+ "Number",
+ "String",
+ "Operator",
+ "Variable",
+ "Function"
+};
+
typedef enum {
O_UNDEF, /* undefined */
O_LST, /* expression lists */