mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-05 08:05:24 +02:00
Bug 416682 - [Keyword Highlight] Customized key word not highlighted
after double quotation character Change-Id: I81e4f5738d5c312c945d282c5041f4a49746624e Signed-off-by: yyangi8r <bjyangyy@cn.ibm.com> Reviewed-on: https://git.eclipse.org/r/16174 Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com> IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com> Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
This commit is contained in:
parent
f2b81954e7
commit
f9cfbdd0ff
1 changed files with 2 additions and 2 deletions
|
@ -383,9 +383,9 @@ public final class FastCPartitionScanner implements IPartitionTokenScanner, ICPa
|
||||||
default:
|
default:
|
||||||
if ('a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch =='_') {
|
if ('a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch =='_') {
|
||||||
fLast = IDENT;
|
fLast = IDENT;
|
||||||
fTokenOffset++;
|
fTokenLength++;
|
||||||
} else if ('0' <= ch && ch <= '9' && fLast == IDENT) {
|
} else if ('0' <= ch && ch <= '9' && fLast == IDENT) {
|
||||||
fTokenOffset++;
|
fTokenLength++;
|
||||||
} else {
|
} else {
|
||||||
consume();
|
consume();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue