Browse Source

allow deeper recursion inside of macros

frabbit 11 years ago
parent
commit
29ee4faecd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      interp.ml

+ 1 - 1
interp.ml

@@ -3248,7 +3248,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) ->