diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-10-10 19:52:00 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-10-10 19:52:00 +0000 |
commit | 5f89c282eacf9ef123bf0b311fb4124e837004d7 (patch) | |
tree | 2c8819e878ed9469fa2b51ea96f9ee77177c2156 /util.c | |
parent | 641c4430082a3fd1d8e803e65d696244a0104810 (diff) | |
download | perl-5f89c282eacf9ef123bf0b311fb4124e837004d7.tar.gz |
croak() is better written Perl_croak() in C code.
p4raw-id: //depot/perl@17993
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4002,13 +4002,13 @@ Perl_scan_version(pTHX_ char *s, SV *rv) if ( *pos == '.' ) { if ( saw_under ) - croak(aTHX_ "Invalid version format (underscores before decimal)"); + Perl_croak(aTHX_ "Invalid version format (underscores before decimal)"); saw_period++ ; } else if ( *pos == '_' ) { if ( saw_under ) - croak(aTHX_ "Invalid version format (multiple underscores)"); + Perl_croak(aTHX_ "Invalid version format (multiple underscores)"); saw_under = 1; } pos++; @@ -4042,7 +4042,7 @@ Perl_scan_version(pTHX_ char *s, SV *rv) rev += (*end - '0') * mult; mult *= 10; if ( abs(orev) > abs(rev) ) - croak(aTHX_ "Integer overflow in version"); + Perl_croak(aTHX_ "Integer overflow in version"); } } |