diff options
author | Craig A. Berry <craigberry@mac.com> | 2019-10-25 09:46:57 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2019-10-25 09:46:57 -0500 |
commit | ad1d31a566e2cab4603d8d3f39b92fe418748ace (patch) | |
tree | 8e63baa0d1ccd0d4753f2dea405deb7b0babd6e8 /toke.c | |
parent | eeead40bddc89e6d928ff2cb39d0e53f40476b64 (diff) | |
download | perl-ad1d31a566e2cab4603d8d3f39b92fe418748ace.tar.gz |
void functions don't need to indicate lack of return
The somewhat confusingly named NORETURN_FUNCTION_END, introduced
in 0dbb1585a715e563, apparently indicates that the function
expects a return but isn't getting one. Since void functions
don't expect a return, it isn't appropriate for them, and in fact,
since the macro includes a return statement, some compilers will
whinge about returning from a void function.
Diffstat (limited to 'toke.c')
-rw-r--r-- | toke.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -6635,8 +6635,6 @@ yyl_croak_unrecognised(pTHX_ char *s) Perl_croak(aTHX_ "Unrecognized character %s; marked by <-- HERE after %" UTF8f "<-- HERE near column %d", c, UTF8fARG(UTF, (s - d), d), (int) len + 1); - - NORETURN_FUNCTION_END; } static int |