summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-09-20 03:06:10 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-09-20 03:06:10 +0000
commit5a844595b9262407e093364ec4d29a22962723f0 (patch)
tree26cc1f15a25dbb3a9f2a698c89b85b9c7c37fd0e /proto.h
parent371b7e1ad2e46c79c7794d9b0f41b49157e7653c (diff)
downloadperl-5a844595b9262407e093364ec4d29a22962723f0.tar.gz
queue errors due to strictures rather than printing them as
warnings; symbols that violate strictures do *not* end up in the symbol table anyway, making multiple evals of the same piece of code produce the same errors; errors indicate all locations of a global symbol rather than just the first one; these changes make compile-time failures within evals reliably visible via the return value or contents of $@, and trappable using __DIE__ hooks p4raw-id: //depot/perl@4197
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 38c7ce6273..74958d38b0 100644
--- a/proto.h
+++ b/proto.h
@@ -56,6 +56,7 @@ VIRTUAL void Perl_croak_nocontext(const char* pat, ...) __attribute__((noreturn)
VIRTUAL OP* Perl_die_nocontext(const char* pat, ...);
VIRTUAL void Perl_deb_nocontext(const char* pat, ...);
VIRTUAL char* Perl_form_nocontext(const char* pat, ...);
+VIRTUAL SV* Perl_mess_nocontext(const char* pat, ...);
VIRTUAL void Perl_warn_nocontext(const char* pat, ...);
VIRTUAL void Perl_warner_nocontext(U32 err, const char* pat, ...);
VIRTUAL SV* Perl_newSVpvf_nocontext(const char* pat, ...);
@@ -322,7 +323,9 @@ VIRTUAL void Perl_markstack_grow(pTHX);
#if defined(USE_LOCALE_COLLATE)
VIRTUAL char* Perl_mem_collxfrm(pTHX_ const char* s, STRLEN len, STRLEN* xlen);
#endif
-VIRTUAL SV* Perl_mess(pTHX_ const char* pat, va_list* args);
+VIRTUAL SV* Perl_mess(pTHX_ const char* pat, ...);
+VIRTUAL SV* Perl_vmess(pTHX_ const char* pat, va_list* args);
+VIRTUAL void Perl_qerror(pTHX_ SV* err);
VIRTUAL int Perl_mg_clear(pTHX_ SV* sv);
VIRTUAL int Perl_mg_copy(pTHX_ SV* sv, SV* nsv, const char* key, I32 klen);
VIRTUAL MAGIC* Perl_mg_find(pTHX_ SV* sv, int type);