summaryrefslogtreecommitdiff
path: root/parse/names.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2012-05-13 14:32:44 -0400
committerOri Bernstein <ori@eigenstate.org>2012-05-13 14:32:44 -0400
commitb61653aec1b32d98adbde2d9ff1a34ff412f8e94 (patch)
tree5597f2122f30c7e2b8237e1104537903600269d4 /parse/names.c
parent67a8b4e0b7d43a09fa0f33d49f94a7cf7c9f7cbd (diff)
downloadmc-b61653aec1b32d98adbde2d9ff1a34ff412f8e94.tar.gz
Make looking up builtin vars work.
Diffstat (limited to 'parse/names.c')
-rw-r--r--parse/names.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/names.c b/parse/names.c
index f380fad..9c09db9 100644
--- a/parse/names.c
+++ b/parse/names.c
@@ -30,7 +30,7 @@ static char *littab[] = {
};
static char *tidtab[] = {
-#define Ty(t) #t,
+#define Ty(t, n) n,
#include "types.def"
#undef Ty
};