Commit 7c89c5c5 authored by Mark Andrews's avatar Mark Andrews
Browse files

second level switch was using the wrong variable

parent 5d51e67c
......@@ -146,7 +146,7 @@ doswitch(char *name, char *function, char *args,
}
if (tt->class && tt->type != lasttype) {
fprintf(stdout, "\tcase %d: switch (%s) { \\\n" /*}*/,
tt->type, tsw);
tt->type, csw);
subswitch = 1;
}
if (tt->class == 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment