Skip to content

Commit fd6f6b6

Browse files
committed
Use UnicodeSets in parser
1 parent 2ff0de9 commit fd6f6b6

File tree

4 files changed

+343
-77
lines changed

4 files changed

+343
-77
lines changed

icu4c/source/i18n/messageformat2_formatter.cpp

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

4444
// Parse the pattern
4545
MFDataModel::Builder tree(errorCode);
46-
Parser(pat, tree, *errors, normalizedInput).parse(parseError, errorCode);
46+
Parser(pat, tree, *errors, normalizedInput, errorCode)
47+
.parse(parseError, errorCode);
4748

4849
// Fail on syntax errors
4950
if (errors->hasSyntaxError()) {

0 commit comments

Comments
 (0)