Skip to content

Commit 5531140

Browse files
committed
Explain DIGIT_ZERO (etc.) macro naming
1 parent c970f4f commit 5531140

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: icu4c/source/i18n/messageformat2_macros.h

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ using namespace pluralimpl;
4646
#define LOWERCASE_E ((UChar32)0x0065)
4747
#define UPPERCASE_E ((UChar32)0x0045)
4848

49+
// The first three macro names are prefixed with DIGIT_
50+
// in order to avoid substituting the macros into the
51+
// definition of StandardPlural::Form (see standardplural.h)
4952
#define DIGIT_ZERO ((UChar32)0x0030)
5053
#define DIGIT_ONE ((UChar32)0x0031)
5154
#define DIGIT_TWO ((UChar32)0x0032)

0 commit comments

Comments
 (0)