diff options
Diffstat (limited to 'lib/cppparser')
-rw-r--r-- | lib/cppparser/lexer.cpp | 4 | ||||
-rw-r--r-- | lib/cppparser/lexer.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/cppparser/lexer.cpp b/lib/cppparser/lexer.cpp index 0c24ceae..167c88c4 100644 --- a/lib/cppparser/lexer.cpp +++ b/lib/cppparser/lexer.cpp @@ -184,7 +184,7 @@ int Lexer::toInt( const Token& token ) int i = s[0] == 'L' ? 2 : 1; // wide char ? if( s[i] == '\\' ){ // escaped char - int c = s[i+1].tqunicode(); + int c = s[i+1].unicode(); switch( c ) { case '0': return 0; @@ -195,7 +195,7 @@ int Lexer::toInt( const Token& token ) return c; } } else { - return s[i].tqunicode(); + return s[i].unicode(); } } else { return 0; diff --git a/lib/cppparser/lexer.h b/lib/cppparser/lexer.h index 2630edf7..12f16696 100644 --- a/lib/cppparser/lexer.h +++ b/lib/cppparser/lexer.h @@ -244,11 +244,11 @@ public: int currentColumn() const { return m_currentColumn; } inline const CHARTYPE* offset( int offset ) const { - return m_source.tqunicode() + offset; + return m_source.unicode() + offset; } inline int getOffset( const TQChar* p ) const { - return int(p - (m_source.tqunicode())); + return int(p - (m_source.unicode())); } private: |