summaryrefslogtreecommitdiffstats
path: root/src/languages/asmparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/languages/asmparser.cpp')
-rw-r--r--src/languages/asmparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/languages/asmparser.cpp b/src/languages/asmparser.cpp
index 94b01c0..90c26d7 100644
--- a/src/languages/asmparser.cpp
+++ b/src/languages/asmparser.cpp
@@ -52,12 +52,12 @@ bool AsmParser::parse( GpsimDebugger * debugger )
{
TQString col0 = line.section( TQRegExp("[; ]"), 0, 0 );
col0 = col0.stripWhiteSpace();
- if ( nonAbsoluteOps.tqcontains(col0) )
+ if ( nonAbsoluteOps.contains(col0) )
m_type = Relocatable;
}
if ( !m_bContainsRadix )
{
- if ( line.tqcontains( TQRegExp("^RADIX[\\s]*") ) || line.tqcontains( TQRegExp("^radix[\\s]*") ) )
+ if ( line.contains( TQRegExp("^RADIX[\\s]*") ) || line.contains( TQRegExp("^radix[\\s]*") ) )
m_bContainsRadix = true;
}
if ( m_picID.isEmpty() )
@@ -81,7 +81,7 @@ bool AsmParser::parse( GpsimDebugger * debugger )
// Assembly file produced (by sdcc) from C, line is in format:
// ;#CSRC\t[file-name] [file-line]
// The filename can contain spaces.
- int fileLineAt = line.tqfindRev(" ");
+ int fileLineAt = line.findRev(" ");
if ( fileLineAt == -1 )
kdWarning() << k_funcinfo << "Syntax error in line \"" << line << "\" while looking for file-line" << endl;
@@ -117,7 +117,7 @@ bool AsmParser::parse( GpsimDebugger * debugger )
else
{
const TQString lineAndFile = lineParts[1];
- int lineFileSplit = lineAndFile.tqfind("; ");
+ int lineFileSplit = lineAndFile.find("; ");
if ( lineFileSplit == -1 )
kdDebug() << k_funcinfo << "Could not find file / line split in \""<<lineAndFile<<"\""<<endl;
else