diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:24:21 -0600 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-23 19:35:21 +0200 |
| commit | 39d7cb00553d01cea32bfd52fa406aac15742ba0 (patch) | |
| tree | 5c385fb00eec3e82327af85dca39e730faa5cebe /lib/cppparser/lexer.cpp | |
| parent | ec049c7c32d50faf317b13d5c844a19978881fc3 (diff) | |
| download | tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.tar.gz tdevelop-39d7cb00553d01cea32bfd52fa406aac15742ba0.zip | |
Rename obsolete tq methods to standard names
(cherry picked from commit abcbb684982167791304dc2fe0bc979489506b43)
Diffstat (limited to 'lib/cppparser/lexer.cpp')
| -rw-r--r-- | lib/cppparser/lexer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cppparser/lexer.cpp b/lib/cppparser/lexer.cpp index d5f11872..ad9dca36 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; |
