From 7f6f9643d38f799155a76c108c8273f5cb2136ca Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Mon, 17 Jul 2017 15:18:31 +1000 Subject: Update types for Unix LP64 after changes to Sci_Position/Sci_PositionU. --- lexers/LexPython.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lexers/LexPython.cxx') diff --git a/lexers/LexPython.cxx b/lexers/LexPython.cxx index 2bb890875..0985c6dd4 100644 --- a/lexers/LexPython.cxx +++ b/lexers/LexPython.cxx @@ -342,7 +342,7 @@ class LexerPython : public DefaultLexer { OptionSetPython osPython; enum { ssIdentifier }; SubStyles subStyles; - std::map > ftripleStateAtEol; + std::map > ftripleStateAtEol; public: explicit LexerPython() : DefaultLexer(lexicalClasses, ELEMENTS(lexicalClasses)), @@ -466,7 +466,7 @@ void LexerPython::ProcessLineEnd(StyleContext &sc, std::vector > val; + std::pair > val; val.first = sc.currentLine; val.second = fstringStateStack; @@ -529,7 +529,7 @@ void SCI_METHOD LexerPython::Lex(Sci_PositionU startPos, Sci_Position length, in } // Set up fstate stack from last line and remove any subsequent ftriple at eol states - std::map >::iterator it; + std::map >::iterator it; it = ftripleStateAtEol.find(lineCurrent - 1); if (it != ftripleStateAtEol.end() && !it->second.empty()) { fstringStateStack = it->second; -- cgit v1.2.3