diff options
author | nyamatongwe <unknown> | 2012-02-19 09:33:44 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-02-19 09:33:44 +1100 |
commit | d3ed2f664bc2e4db1eab7cd62c664cf43672a89c (patch) | |
tree | 6edc34ebb3773cf7cf9fa3abc4cf34c09f53308b /lexers/LexVHDL.cxx | |
parent | ccd7a7ac27c1ba4431c2e5a5015e518b72fcf8a7 (diff) | |
download | scintilla-mirror-d3ed2f664bc2e4db1eab7cd62c664cf43672a89c.tar.gz |
Enable differentiation of --! bang comments as this was disabled by poorly
written code. Noticed by PVS-Studio.
Diffstat (limited to 'lexers/LexVHDL.cxx')
-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 |