summaryrefslogtreecommitdiff
path: root/parse/node.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-09 16:49:09 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-09 16:49:09 -0700
commited8711e68e441e9884d734932373317834665833 (patch)
tree08a3f37550af1b6adb1ad912ee6df70fa6c1ceaf /parse/node.c
parentbd5fb6d0628831cde25f13e3fe461786d616a06e (diff)
downloadmc-ed8711e68e441e9884d734932373317834665833.tar.gz
Refactor code to add jump tables, and prepare to generate them.
Diffstat (limited to 'parse/node.c')
-rw-r--r--parse/node.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse/node.c b/parse/node.c
index ba3cd3c..f33e9ca 100644
--- a/parse/node.c
+++ b/parse/node.c
@@ -405,6 +405,9 @@ int liteq(Node *a, Node *b)
case Llbl:
return !strcmp(a->lit.lblval, b->lit.lblval);
break;
+ case Ljtab:
+ return 0;
+ break;
}
return 0;
}