Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1455)

Unified Diff: icu4c/source/i18n/numparse_affixes.cpp

Issue 339630043: ticket:13736 Change number parsing to require locale currency when using non-currency parse functio… (Closed) Base URL: svn+icussh://source.icu-project.org/repos/icu/trunk/
Patch Set: Porting to ICU4C and adding locale long name parsing as alternative to currency data parsing. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu4c/source/i18n/numparse_affixes.h ('k') | icu4c/source/i18n/numparse_currency.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu4c/source/i18n/numparse_affixes.cpp
===================================================================
--- icu4c/source/i18n/numparse_affixes.cpp (revision 41389)
+++ icu4c/source/i18n/numparse_affixes.cpp (working copy)
@@ -190,7 +190,7 @@
}
NumberParseMatcher& AffixTokenMatcherWarehouse::currency(UErrorCode& status) {
- return fCurrency = {fSetupData->currencySymbols, fSetupData->dfs, status};
+ return fCurrency = {fSetupData->currencySymbols, fSetupData->dfs, fSetupData->parseFlags, status};
}
IgnorablesMatcher& AffixTokenMatcherWarehouse::ignorables() {
« no previous file with comments | « icu4c/source/i18n/numparse_affixes.h ('k') | icu4c/source/i18n/numparse_currency.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b