Re: Bugreport on comments
Martijn Koster (mak@webcrawler.com)
Thu, 4 Dec 1997 08:20:11 +0000
On Wed, Dec 03, 1997 at 09:43:24PM +0100, hellmuth@ira.uka.de wrote:
K> Hi,
> I stumbled on the following bug in Parser.pm ( at least up to libwww-5.16
> which is current AFAIK).
Actually, it's 5.17.
> Comments with -- in the comment-text are not
> parsed correctly because -- (without the ending '>') is parsed as
> end-of-comment.
> The following code demonstrates this. It should print ' ------- ', instead
> it prints ' '.
Without applying any brain power I ran that code, and it prints
' ------- ', under stock 5.16 and 5.17?
Sorry, no time for any more investigating...
-- Martijn Koster, m.koster@pobox.com
mak@mindy:-bash$ perl -V
Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
Platform:
osname=irix, osvers=6.2, archname=IP22-irix
uname='irix mindy 6.2 03131015 ip22 '
hint=recommended, useposix=true, d_sigaction=define
bincompat3=n useperlio=undef d_sfio=undef
Compiler:
cc='cc -n32', optimize='-O3', gccversion=
cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0 -I/usr/local/include -DLANGUAGE_C'
ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:Olimit=0 -I/usr/local/include -DLANGUAGE_C'
stdchar='unsigned char', d_stdstdio=define, usevfork=false
voidflags=15, castflags=0, d_casti32=define, d_castneg=define
intsize=4, alignbytes=8, usemymalloc=y, prototype=define
Linker and Libraries:
ld='ld', ldflags =' -L/usr/local/lib -L/usr/lib32 -L/lib32'
libpth=/usr/local/lib /usr/lib32 /lib32 /lib /usr/lib
libs=-lgdbm -lm -lc
libc=/usr/lib32/libc.so, so=so
useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-n32 -shared -L/usr/local/lib -L/usr/lib32 -L/lib32'
Characteristics of this binary (from libperl):
Built under irix
Compiled at Oct 16 1997 18:15:23
@INC:
/usr/local/lib/perl5/IP22-irix/5.00404
/usr/local/lib/perl5
/usr/local/lib/perl5/site_perl/IP22-irix
/usr/local/lib/perl5/site_perl
.