diff options
author | Hugo van der Sanden <hv@crypt.org> | 2015-02-16 02:42:02 +0000 |
---|---|---|
committer | Hugo van der Sanden <hv@crypt.org> | 2015-02-17 13:57:07 +0000 |
commit | eb9a585f27ae6d43991bad8975ce1643dfff6cca (patch) | |
tree | 79fa078d6eae98323cac678aed2c542baa9ee80e /dquote_static.c | |
parent | ad5889a4c2db1f8199252797cd45acf44dc547ae (diff) | |
download | perl-eb9a585f27ae6d43991bad8975ce1643dfff6cca.tar.gz |
fix handling of non-strict \x{}
It should be equivalent to \x{0}.
Diffstat (limited to 'dquote_static.c')
-rw-r--r-- | dquote_static.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dquote_static.c b/dquote_static.c index 16227c1c8d..f993f53dac 100644 --- a/dquote_static.c +++ b/dquote_static.c @@ -267,6 +267,8 @@ S_grok_bslash_x(pTHX_ char **s, UV *uv, const char** error_msg, *error_msg = "Number with no digits"; return FALSE; } + *s = e + 1; + *uv = 0; return TRUE; } |