X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pp.c;h=b03acf3f9d5dc051f2137527acd4527f38de5623;hb=ca63f0d242a6920af7209f1a190c17b7800ce145;hp=75773941eb6b0e2f4b15a2395013a7e69a0f6aeb;hpb=9851f69c06e0d488d7011ab29649bf9cc5c42108;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pp.c b/pp.c index 7577394..b03acf3 100644 --- a/pp.c +++ b/pp.c @@ -1,6 +1,6 @@ /* pp.c * - * Copyright (c) 1991-1997, Larry Wall + * Copyright (c) 1991-1999, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -3274,7 +3274,7 @@ PP(pp_unpack) #endif if (isSPACE(datumtype)) continue; - if (*pat == '_') { + if (*pat == '!') { char *natstr = "sSiIlL"; if (strchr(natstr, datumtype)) { @@ -3284,7 +3284,7 @@ PP(pp_unpack) pat++; } else - croak("'_' allowed only after types %s", natstr); + croak("'!' allowed only after types %s", natstr); } if (pat >= patend) len = 1; @@ -4294,7 +4294,7 @@ PP(pp_pack) #endif if (isSPACE(datumtype)) continue; - if (*pat == '_') { + if (*pat == '!') { char *natstr = "sSiIlL"; if (strchr(natstr, datumtype)) { @@ -4304,7 +4304,7 @@ PP(pp_pack) pat++; } else - croak("'_' allowed only after types %s", natstr); + croak("'!' allowed only after types %s", natstr); } if (*pat == '*') { len = strchr("@Xxu", datumtype) ? 0 : items;