diff options
author | Karl Williamson <khw@cpan.org> | 2019-03-19 12:08:06 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-03-19 12:50:49 -0600 |
commit | ccad88426c3827a98f048facac304bace92604e7 (patch) | |
tree | 0ea83deec575cc99ad4ae346bca2663955f0b5c1 /dquote.c | |
parent | bc508755449a899a1f962877248064475fb91770 (diff) | |
download | perl-ccad88426c3827a98f048facac304bace92604e7.tar.gz |
Change error wording for \o{}
An empty \o{} no longer says "Number with no digits" in favor of "Empty
\o{}" which is more consistent with errors raised for things like \b{},
\P{}.
There is a small risk of breakage with this change, as with any
diagnostic wording change. However, this construct is relatively new
and rarely used, and this is a fatal error, not a warning you might want
to trap on. There are no empty \o{} instances in CPAN.
Diffstat (limited to 'dquote.c')
-rw-r--r-- | dquote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ Perl_grok_bslash_o(pTHX_ char **s, const char * const send, UV *uv, numbers_len = e - *s; if (numbers_len == 0) { (*s)++; /* Move past the } */ - *error_msg = "Number with no digits"; + *error_msg = "Empty \\o{}"; return FALSE; } |