aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexVHDL.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexVHDL.cxx')
-rw-r--r--lexers/LexVHDL.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/lexers/LexVHDL.cxx b/lexers/LexVHDL.cxx
index 5580b3c5e..ee9d6628f 100644
--- a/lexers/LexVHDL.cxx
+++ b/lexers/LexVHDL.cxx
@@ -128,9 +128,6 @@ static void ColouriseVHDLDoc(
} else if (IsAWordStart(sc.ch)) {
sc.SetState(SCE_VHDL_IDENTIFIER);
} else if (sc.Match('-', '-')) {
- sc.SetState(SCE_VHDL_COMMENT);
- sc.Forward();
- } else if (sc.Match('-', '-')) {
if (sc.Match("--!")) // Nice to have a different comment style
sc.SetState(SCE_VHDL_COMMENTLINEBANG);
else