aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexVerilog.cxx
diff options
context:
space:
mode:
authorJoe Mueller <unknown>2015-02-17 13:51:41 -0800
committerJoe Mueller <unknown>2015-02-17 13:51:41 -0800
commit503cadb027ea9819421f3d8e361fed5407358996 (patch)
tree1adf588128f295fe583e2b748069fc78c41f158b /lexers/LexVerilog.cxx
parent149958a53fc51aed93e4acd92ddae1e1ff54b532 (diff)
downloadscintilla-mirror-503cadb027ea9819421f3d8e361fed5407358996.tar.gz
fix bug where terminating whitespace character was not included in escaped identifier
Diffstat (limited to 'lexers/LexVerilog.cxx')
-rw-r--r--lexers/LexVerilog.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/lexers/LexVerilog.cxx b/lexers/LexVerilog.cxx
index 934838eb9..2a53a1846 100644
--- a/lexers/LexVerilog.cxx
+++ b/lexers/LexVerilog.cxx
@@ -511,8 +511,7 @@ void SCI_METHOD LexerVerilog::Lex(unsigned int startPos, int length, int initSty
}
break;
case SCE_V_IDENTIFIER:
- if ((!isEscapedId &&(!IsAWordChar(sc.ch) || (sc.ch == '.'))) ||
- (isEscapedId && isspacechar(sc.ch))) {
+ if (!isEscapedId &&(!IsAWordChar(sc.ch) || (sc.ch == '.'))) {
char s[100];
lineState &= 0xff00;
sc.GetCurrent(s, sizeof(s));
@@ -738,7 +737,6 @@ void SCI_METHOD LexerVerilog::Lex(unsigned int startPos, int length, int initSty
}
if (isEscapedId && isspacechar(sc.ch)) {
isEscapedId = false;
- sc.SetState(SCE_V_DEFAULT|activitySet);
}
}
if (definitionsChanged) {