summaryrefslogtreecommitdiffstats
path: root/src/asmformatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/asmformatter.cpp')
-rw-r--r--src/asmformatter.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/asmformatter.cpp b/src/asmformatter.cpp
index 2dc1c79..bb72996 100644
--- a/src/asmformatter.cpp
+++ b/src/asmformatter.cpp
@@ -16,7 +16,7 @@
static TQString extractComment( const TQString & line )
{
- int pos = line.tqfind( ';' );
+ int pos = line.find( ';' );
if ( pos == -1 )
return "";
@@ -191,9 +191,9 @@ InstructionParts::InstructionParts( TQString line )
continue;
}
- if ( PicAsm12bit::self()->operandList().tqcontains( (*it).upper() )
- || PicAsm14bit::self()->operandList().tqcontains( (*it).upper() )
- || PicAsm16bit::self()->operandList().tqcontains( (*it).upper() ) )
+ if ( PicAsm12bit::self()->operandList().contains( (*it).upper() )
+ || PicAsm14bit::self()->operandList().contains( (*it).upper() )
+ || PicAsm16bit::self()->operandList().contains( (*it).upper() ) )
{
m_operand = *it;
foundOperand = true;