mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-20 21:30:44 +01:00
Make ?BEGIN PERL end ?END PERL work.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9dd6f86c55
commit
5688dc77a3
@ -2193,7 +2193,7 @@ sub read_a_line(;$$$) {
|
|||||||
#
|
#
|
||||||
# Handle conditionals
|
# Handle conditionals
|
||||||
#
|
#
|
||||||
if ( $currentline =~ /^\s*\?/ ) {
|
if ( $currentline =~ /^\s*\?(?:IF|ELSE|ENDIF)/ ) {
|
||||||
$omitting = process_conditional( $omitting, $currentline, $currentlinenumber );
|
$omitting = process_conditional( $omitting, $currentline, $currentlinenumber );
|
||||||
$currentline='';
|
$currentline='';
|
||||||
next;
|
next;
|
||||||
|
Loading…
Reference in New Issue
Block a user