bugfix: define can take only 1 argument
This commit is contained in:
+1
-1
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user