diff options
author | nyamatongwe <devnull@localhost> | 2012-02-19 09:33:44 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-02-19 09:33:44 +1100 |
commit | d49dc4d02154986b626846b4656b07aab8a118e8 (patch) | |
tree | 337b32dff717156dbde844f30f6ec9b35dcc8c05 | |
parent | cfd931fc36490afa766494c142f1ce3631d15021 (diff) | |
download | scintilla-mirror-d49dc4d02154986b626846b4656b07aab8a118e8.tar.gz |
Enable differentiation of --! bang comments as this was disabled by poorly
written code. Noticed by PVS-Studio.
-rw-r--r-- | lexers/LexVHDL.cxx | 3 |
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 |