Browse Source

allow deeper macro recursion

Simon Krajewski 12 years ago
parent
commit
ad90453e88
1 changed files with 1 additions and 1 deletions
  1. 1 1
      interp.ml

+ 1 - 1
interp.ml

@@ -3168,7 +3168,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 > 200 then exc (VString "Stack overflow");
+	if oldsize > 400 then exc (VString "Stack overflow");
 	let ret = (try
 		(match vfun with
 		| VClosure (vl,f) ->