summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-11-11 11:59:05 -0700
committerKarl Williamson <public@khwilliamson.com>2011-11-11 13:31:00 -0700
commit12b093a1634026f2fa189de5410ba46513e0dc8c (patch)
treef580c831498e548fa2ab18c4efa14d75f5eae371
parent0ecfbd284bc66009cc7a83623b46547fc0442758 (diff)
downloadperl-12b093a1634026f2fa189de5410ba46513e0dc8c.tar.gz
pp.c: Remove macro no-longer called
-rw-r--r--pp.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/pp.c b/pp.c
index 8b5f26cb3e..7059a48e36 100644
--- a/pp.c
+++ b/pp.c
@@ -3430,17 +3430,9 @@ PP(pp_crypt)
/* Generally UTF-8 and UTF-EBCDIC are indistinguishable at this level. So
* most comments below say UTF-8, when in fact they mean UTF-EBCDIC as well */
-/* Below are several macros that generate code */
/* Generates code to store a unicode codepoint c that is known to occupy
- * exactly two UTF-8 and UTF-EBCDIC bytes; it is stored into p and p+1. */
-#define STORE_UNI_TO_UTF8_TWO_BYTE(p, c) \
- STMT_START { \
- *(p) = UTF8_TWO_BYTE_HI(c); \
- *((p)+1) = UTF8_TWO_BYTE_LO(c); \
- } STMT_END
-
-/* Like STORE_UNI_TO_UTF8_TWO_BYTE, but advances p to point to the next
- * available byte after the two bytes */
+ * exactly two UTF-8 and UTF-EBCDIC bytes; it is stored into p and p+1,
+ * and p is advanced to point to the next available byte after the two bytes */
#define CAT_UNI_TO_UTF8_TWO_BYTE(p, c) \
STMT_START { \
*(p)++ = UTF8_TWO_BYTE_HI(c); \