소스 검색

Merge pull request #2572 from frabbit/deeper_interp_recusion

allow deeper recursion inside of macros
Simon Krajewski 11 년 전
부모
커밋
3c3708f431
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      interp.ml

+ 1 - 1
interp.ml

@@ -3254,7 +3254,7 @@ and call ctx vthis vfun pl p =
 	ctx.vthis <- vthis;
 	ctx.callstack <- { cpos = p; cthis = oldthis; cstack = stackpos; cenv = oldenv } :: ctx.callstack;
 	ctx.callsize <- oldsize + 1;
-	if oldsize > 400 then exc (VString "Stack overflow");
+	if oldsize > 600 then exc (VString "Stack overflow");
 	let ret = (try
 		(match vfun with
 		| VClosure (vl,f) ->