codegen.c: just raise the exception on broken node for assignments.

parent 8aa15b00
...@@ -1320,9 +1320,7 @@ gen_assignment(codegen_scope *s, node *tree, int sp, int val) ...@@ -1320,9 +1320,7 @@ gen_assignment(codegen_scope *s, node *tree, int sp, int val)
break; break;
default: default:
#ifndef MRB_NO_STDIO codegen_error(s, "unknown lhs");
fprintf(stderr, "unknown lhs %d\n", type);
#endif
break; break;
} }
if (val) push(); if (val) push();
......
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