[20383] in Athena Bugs
Errors reported on incorrect line
daemon@ATHENA.MIT.EDU (bbermack@MIT.EDU)
Wed Jun 12 11:40:46 2002
From: bbermack@MIT.EDU
Date: Wed, 12 Jun 2002 11:40:44 -0400 (EDT)
Message-Id: <200206121540.LAA23624@vorkosigan.mit.edu>
To: perlbug@perl.com
Cc: bugs@MIT.EDU
Reply-To: bbermack@MIT.EDU
This is a bug report for perl from bbermack@mit.edu,
generated with the help of perlbug 1.28 running under perl v5.6.0.
-----------------------------------------------------------------
[Please enter your report here]
When compiling (running) a program such as:
================================================================
#!/usr/bin/perl -w
use strict;
# line 777: Content/1.html
xyz;
================================================================
the error in "xyz;" is reported as being in line 778, rather than 7.
Doubling the "#" fixes the problem.
I suppose this might be a feature that's documented somewhere, but I've never
seen it and it certainly isn't intuitive, nor can I think of a good reason to
want it.
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=low
---
Site configuration information for perl v5.6.0:
Configured by builder at Wed May 16 06:24:47 EDT 2001.
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=solaris, osvers=2.8, archname=sun4-solaris
uname='sunos maytag.mit.edu 5.8 generic_108528-03 sun4u sparc sunw,ultra-5_10 '
config_args='-d -s -e -Dprefix=/usr/athena -Dcc=gcc -Dperladmin=bugs@mit.edu'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
Compiler:
cc='gcc', optimize='-O', gccversion=2.95.2 19991024 (release)
cppflags='-fno-strict-aliasing'
ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' '
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec
libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-fPIC', lddlflags='-G'
Locally applied patches:
---
@INC for perl v5.6.0:
/usr/athena/lib/perl5/5.6.0/sun4-solaris
/usr/athena/lib/perl5/5.6.0
/usr/athena/lib/perl5/site_perl/5.6.0/sun4-solaris
/usr/athena/lib/perl5/site_perl/5.6.0
/usr/athena/lib/perl5/site_perl
.
---
Environment for perl v5.6.0:
HOME=/afs/athena.mit.edu/user/b/b/bbermack
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH=/usr/openwin/lib:/var/local/oracle_home/lib/
LOGDIR (unset)
PATH=/afs/athena.mit.edu/user/b/b/bbermack/bin/:/afs/athena.mit.edu/user/b/b/bbermack/bin/:/srvd/patch:/usr/athena/bin:/usr/athena/etc:/bin/athena:/usr/openwin/bin:/usr/openwin/demo:/usr/bin:/usr/ccs/bin:/usr/andrew/bin:/usr/sbin:/sbin:/usr/ucb:.:/usr/java1.2/bin:/var/local/httpd/bin:/var/local/jbuilder4/bin:/mit/infoagents/arch/sun4x_58/bin:/mit/sipb/arch/sun4x_58/bin:/mit/outland/arch/sun4x_58/bin:/mit/consult/arch/sun4x_58/bin:/mit/gnu/arch/sun4x_58/bin:/mit/emcc/arch/sun4x_57/bin:/usr/java1.2/bin:/var/local/httpd/bin:/var/local/jbuilder4/bin
PERL_BADLANG (unset)
SHELL=/bin/athena/tcsh