mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 20:30:43 +01:00
Fix INCLUDE inside an ?IF ... ?ENDIF
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
25125c47e4
commit
0b5e30aa7b
@ -2265,7 +2265,7 @@ sub read_a_line(;$$$$) {
|
||||
}
|
||||
}
|
||||
|
||||
if ( @ifstack ) {
|
||||
if ( @ifstack > $ifstack ) {
|
||||
$currentlinenumber = 'EOF';
|
||||
fatal_error "Missing ?ENDIF to match the ?IF at line $ifstack[-1]->[3]";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user