reset recursion depth on macros to 16
This commit is contained in:
parent
38c42d01fd
commit
45e4a9657c
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ sub process {
|
|||
our $macrodepth ||= 0;
|
||||
local $macrodepth = $macrodepth + 1;
|
||||
${ $content } =~ s{$macro_re}{
|
||||
if ( $macrodepth > 64 ) {
|
||||
if ( $macrodepth > 16 ) {
|
||||
$session->errorHandler->error($2 . " : Too many levels of macro recursion. Stopping.");
|
||||
"Too many levels of macro recursion. Stopping.";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue