bugfix: define can take only 1 argument

This commit is contained in:
Yuichi Nishiwaki 2013-10-29 22:16:16 +09:00
parent edd890ae0b
commit 4721f42f5a
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ codegen(codegen_state *state, pic_value obj)
int idx;
pic_value var, val;
if (pic_length(pic, obj) < 3) {
if (pic_length(pic, obj) < 2) {
pic_error(pic, "syntax error");
}