aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexVerilog.cxx
diff options
context:
space:
mode:
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) {