summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-06-17 13:03:36 -0600
committerKarl Williamson <public@khwilliamson.com>2012-06-20 14:08:42 -0600
commita04812933fd16241c831d020a4c64870d7ca8624 (patch)
tree9abca6abc551b4ba7657faf55ba7a4b81faab813 /embed.h
parent273aad2670fabe520e5f7510e2bd8b0aa6fa29c4 (diff)
downloadperl-a04812933fd16241c831d020a4c64870d7ca8624.tar.gz
Refactor \x processing to single function
There are three places that process \x. These can and did get out of sync. This moves all three to use a common static inline function so that they all do the same thing on the same inputs, and their behaviors will not drift apart again. This commit should not change current behavior. A previous commit was designed to bring all three to identical behavior.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 2a4585c400..260bee9974 100644
--- a/embed.h
+++ b/embed.h
@@ -898,6 +898,7 @@
# if defined(PERL_IN_DQUOTE_STATIC_C)
#define grok_bslash_c(a,b,c) S_grok_bslash_c(aTHX_ a,b,c)
#define grok_bslash_o(a,b,c,d,e) S_grok_bslash_o(aTHX_ a,b,c,d,e)
+#define grok_bslash_x(a,b,c,d,e) S_grok_bslash_x(aTHX_ a,b,c,d,e)
#define regcurly(a) S_regcurly(aTHX_ a)
# endif
# if defined(PERL_IN_REGCOMP_C)