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)
break;
default:
#ifndef MRB_NO_STDIO
fprintf(stderr, "unknown lhs %d\n", type);
#endif
codegen_error(s, "unknown lhs");
break;
}
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