Skip to content

Commit 80a82d5

Browse files
committed
ICU-22940 MF2 ICU4C: Update for bidi support
Per unicode-org/message-format-wg#884
1 parent 62b95bb commit 80a82d5

File tree

8 files changed

+576
-112
lines changed

8 files changed

+576
-112
lines changed

icu4c/source/i18n/messageformat2_formatter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ namespace message2 {
4545

4646
// Parse the pattern
4747
MFDataModel::Builder tree(errorCode);
48-
Parser(pat, tree, *errors, normalizedInput).parse(parseError, errorCode);
48+
Parser(pat, tree, *errors, normalizedInput, errorCode)
49+
.parse(parseError, errorCode);
4950

5051
// Fail on syntax errors
5152
if (errors->hasSyntaxError()) {

0 commit comments

Comments
 (0)