bugfix: define can take only 1 argument
This commit is contained in:
		
							parent
							
								
									edd890ae0b
								
							
						
					
					
						commit
						4721f42f5a
					
				|  | @ -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"); | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Yuichi Nishiwaki
						Yuichi Nishiwaki