aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexPerl.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-11-05 15:04:09 +1100
committerNeil <nyamatongwe@gmail.com>2016-11-05 15:04:09 +1100
commit1e36c7e89248cf5f9e4353673918e79cfcaeb857 (patch)
treecbac5d80a9bb74195dbee65c85db786ee515e7f4 /lexers/LexPerl.cxx
parentd489cd587b72a62eddc8da9b6e9ef56221bbd334 (diff)
downloadscintilla-mirror-1e36c7e89248cf5f9e4353673918e79cfcaeb857.tar.gz
StyleContext no longer needs mask argument.
Remove warning suppression pragma no longer needed for Perl's StyleContext.
Diffstat (limited to 'lexers/LexPerl.cxx')
-rw-r--r--lexers/LexPerl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexPerl.cxx b/lexers/LexPerl.cxx
index 3b10b47e6..b3c5d5899 100644
--- a/lexers/LexPerl.cxx
+++ b/lexers/LexPerl.cxx
@@ -755,7 +755,7 @@ void SCI_METHOD LexerPerl::Lex(Sci_PositionU startPos, Sci_Position length, int
backPos++;
}
- StyleContext sc(startPos, endPos - startPos, initStyle, styler, static_cast<char>(STYLE_MAX));
+ StyleContext sc(startPos, endPos - startPos, initStyle, styler);
for (; sc.More(); sc.Forward()) {