ICU-8827 ignore Script_Extensions @missing value <script>

X-SVN-Rev: 31030
This commit is contained in:
Markus Scherer 2011-12-05 20:05:26 +00:00
parent 57d4e75211
commit a7394689d8

View File

@ -576,6 +576,11 @@ scriptExtensionsLineFn(void *context,
exit(*pErrorCode);
}
/* ignore "<script>" on the @missing line */
if(*u_skipWhitespace(fields[1][0])=='<') {
return;
}
/* parse list of script codes */
UnicodeString codes; // vector of 16-bit UScriptCode values
char *s=fields[1][0];