diff options
author | Hugo van der Sanden <hv@crypt.org> | 2000-09-05 15:13:37 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-09-07 18:47:13 +0000 |
commit | 07c798fba9d4fe8ccc19f0a24bb183c75256ac15 (patch) | |
tree | 9936e2772173074e9cca4b6922096b9ca519f88e /toke.c | |
parent | 5d43e42d71f64cebb856e08f031cf1e743bf3445 (diff) | |
download | perl-07c798fba9d4fe8ccc19f0a24bb183c75256ac15.tar.gz |
Re: [ID 20000905.001] Assertion failed: file "toke.c", line 202
Message-Id: <200009051313.OAA24507@crypt.compulink.co.uk>
p4raw-id: //depot/perl@7028
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -209,10 +209,8 @@ S_no_op(pTHX_ char *what, char *s) if (!s) s = oldbp; - else { - assert(s >= oldbp); + else PL_bufptr = s; - } yywarn(Perl_form(aTHX_ "%s found where operator expected", what)); if (is_first) Perl_warn(aTHX_ "\t(Missing semicolon on previous line?)\n"); @@ -223,8 +221,10 @@ S_no_op(pTHX_ char *what, char *s) Perl_warn(aTHX_ "\t(Do you need to predeclare %.*s?)\n", t - PL_oldoldbufptr, PL_oldoldbufptr); } - else + else { + assert(s >= oldbp); Perl_warn(aTHX_ "\t(Missing operator before %.*s?)\n", s - oldbp, oldbp); + } PL_bufptr = oldbp; } |