mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
Leave first filename and linenumber on the same line as error text.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
089d980dae
commit
59bf343521
@ -809,7 +809,7 @@ sub currentlineinfo() {
|
|||||||
my $linenumber = $currentlinenumber || 1;
|
my $linenumber = $currentlinenumber || 1;
|
||||||
|
|
||||||
if ( $currentfile ) {
|
if ( $currentfile ) {
|
||||||
my $lineinfo = @includestack || @openstack ? "\n $currentfilename " : " $currentfilename ";
|
my $lineinfo = " $currentfilename ";
|
||||||
|
|
||||||
if ( $linenumber eq 'EOF' ) {
|
if ( $linenumber eq 'EOF' ) {
|
||||||
$lineinfo .= '(EOF)'
|
$lineinfo .= '(EOF)'
|
||||||
|
Loading…
Reference in New Issue
Block a user