diff options
author | Tony Cook <tony@develop-help.com> | 2014-05-05 11:58:56 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-05-07 10:53:15 +1000 |
commit | 2e6f7c2a540619c950910021996e1e6c54dcd4e2 (patch) | |
tree | 75a315dbdc4f3bc277aedc3ac3e60991fba63edb /proto.h | |
parent | dc396cc29397b262d3cc1473ade4229c84e82ca3 (diff) | |
download | perl-2e6f7c2a540619c950910021996e1e6c54dcd4e2.tar.gz |
[perl #121771] Revert the new warning for ++ on non- /\A[a-zA-Z]+[0-9]*\z/
This failed as in it was producing:
Argument "123abc" treated as 0 in increment (++) at -e line 1.
when the user incremented that value (which is a lie).
This reverts commits 8140a7a801e37d147db0e5a8d89551d9d77666e0 and
2cd5095e471e1d84dc9e0b79900ebfd66aabc909.
I expect to revert this commit, and add fixes, after 5.20 is released.
Conflicts:
pod/perldiag.pod
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -7345,11 +7345,6 @@ STATIC void S_not_a_number(pTHX_ SV *const sv) #define PERL_ARGS_ASSERT_NOT_A_NUMBER \ assert(sv) -STATIC void S_not_incrementable(pTHX_ SV *const sv) - __attribute__nonnull__(pTHX_1); -#define PERL_ARGS_ASSERT_NOT_INCREMENTABLE \ - assert(sv) - STATIC PTR_TBL_ENT_t * S_ptr_table_find(PTR_TBL_t *const tbl, const void *const sv) __attribute__warn_unused_result__ __attribute__nonnull__(1); @@ -7366,12 +7361,6 @@ STATIC void S_sv_add_arena(pTHX_ char *const ptr, const U32 size, const U32 flag #define PERL_ARGS_ASSERT_SV_ADD_ARENA \ assert(ptr) -STATIC const char * S_sv_display(pTHX_ SV *const sv, char *tmpbuf, STRLEN tmpbuf_size) - __attribute__nonnull__(pTHX_1) - __attribute__nonnull__(pTHX_2); -#define PERL_ARGS_ASSERT_SV_DISPLAY \ - assert(sv); assert(tmpbuf) - STATIC STRLEN S_sv_pos_b2u_midway(pTHX_ const U8 *const s, const U8 *const target, const U8 *end, STRLEN endu) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2) |