mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codegen.c: just raise the exception on broken node for assignments.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user