Skip to content

Commit

Permalink
fix issue 14717 - Ddoc macro recursion limit too low
Browse files Browse the repository at this point in the history
just add a zero
  • Loading branch information
aG0aep6G committed Jul 4, 2015
1 parent 92c3700 commit 3f444af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macro.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ void Macro::expand(OutBuffer *buf, size_t start, size_t *pend,
#endif

static int nest;
if (nest > 100) // limit recursive expansion
if (nest > 1000) // limit recursive expansion
return;
nest++;

Expand Down

0 comments on commit 3f444af

Please sign in to comment.