mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 09:21:03 +00:00
ICU-1098 Too many errors in transliterator.. back off chagnes for now
X-SVN-Rev: 6661
This commit is contained in:
parent
194388c05e
commit
731fbc5024
1 changed files with 8 additions and 6 deletions
|
@ -175,15 +175,17 @@ static enum ETokenType getStringToken(UCHARBUF* buf,
|
|||
return TOK_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
U_APPEND_CHAR32(c, pTarget,len);
|
||||
pTarget = target;
|
||||
ustr_uscat(token, pTarget,len, status);
|
||||
isFollowingCharEscaped = FALSE;
|
||||
len=0;
|
||||
|
||||
if(c==ESCAPE && !isFollowingCharEscaped){
|
||||
isFollowingCharEscaped = TRUE;
|
||||
}else{
|
||||
U_APPEND_CHAR32(c, pTarget,len);
|
||||
pTarget = target;
|
||||
ustr_uscat(token, pTarget,len, status);
|
||||
isFollowingCharEscaped = FALSE;
|
||||
len=0;
|
||||
}
|
||||
|
||||
if (U_FAILURE(*status)) {
|
||||
return TOK_ERROR;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue