瀏覽代碼

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) ->