don't highlight '\' at line end as error
This commit is contained in:
parent
cd4bfdfa23
commit
2e66a3163c
|
@ -978,8 +978,12 @@ void SynEditCppHighlighter::slashProc()
|
|||
|
||||
void SynEditCppHighlighter::backSlashProc()
|
||||
{
|
||||
mTokenId = TokenKind::Symbol;
|
||||
mExtTokenId = ExtTokenKind::BackSlash;
|
||||
if (mLine[mRun+1]==0) {
|
||||
mTokenId = TokenKind::Symbol;
|
||||
mExtTokenId = ExtTokenKind::BackSlash;
|
||||
} else {
|
||||
mTokenId = TokenKind::Unknown;
|
||||
}
|
||||
mRun+=1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue