Quellcode durchsuchen

allow deeper recursion inside of macros

frabbit vor 11 Jahren
Ursprung
Commit
29ee4faecd
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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) ->