diff options
author | Joe Mueller <unknown> | 2015-03-10 15:14:14 -0700 |
---|---|---|
committer | Joe Mueller <unknown> | 2015-03-10 15:14:14 -0700 |
commit | 69d8e9052db15646ef977557056237e8d5ea087a (patch) | |
tree | 156160aa242d70ca3e50f43d5b0863d81e81e334 | |
parent | 1a6fd4150b6700a4f851a255f4b3c5a5f69b1cab (diff) | |
download | scintilla-mirror-69d8e9052db15646ef977557056237e8d5ea087a.tar.gz |
fix problem where preprocessor fold code would incorrectly match `endcelldefine with `if
-rw-r--r-- | lexers/LexVerilog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexVerilog.cxx b/lexers/LexVerilog.cxx index 2a53a1846..1e45a06bc 100644 --- a/lexers/LexVerilog.cxx +++ b/lexers/LexVerilog.cxx @@ -853,7 +853,7 @@ void SCI_METHOD LexerVerilog::Fold(unsigned int startPos, int length, int initSt } if (styler.Match(j, "if")) { levelNext++; - } else if (styler.Match(j, "end")) { + } else if (styler.Match(j, "endif")) { levelNext--; } } |