Nicolas Cannasse 14 년 전
부모
커밋
3c4f829fa6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      genjs.ml

+ 1 - 1
genjs.ml

@@ -739,7 +739,7 @@ let alloc_ctx com =
 	ctx
 
 let gen_single_expr ctx e constr =
-	if constr then gen_constructor ctx e else gen_expr ctx e;
+	if constr then gen_constructor ctx e else gen_value ctx e;
 	let str = Buffer.contents ctx.buf in
 	Buffer.reset ctx.buf;
 	ctx.id_counter <- 0;