Skip to content

Commit

Permalink
Merge pull request HaxeFoundation#2572 from frabbit/deeper_interp_rec…
Browse files Browse the repository at this point in the history
…usion

allow deeper recursion inside of macros
  • Loading branch information
Simn committed Jan 26, 2014
2 parents a71c145 + 29ee4fa commit 3c3708f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interp.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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) ->
Expand Down

0 comments on commit 3c3708f

Please sign in to comment.