Kaydet (Commit) e4d6dfae authored tarafından August Sodora's avatar August Sodora

Remove use of pLine in scanner

üst 679a8e1c
......@@ -308,8 +308,8 @@ bool SbiScanner::NextSym()
}
// read in and convert if number
else if( theBasicCharClass::get().isDigit( *pLine & 0xFF )
|| ( *pLine == '.' && theBasicCharClass::get().isDigit( *(pLine+1) & 0xFF ) ) )
else if((nCol < aLine.getLength() && theBasicCharClass::get().isDigit(aLine[nCol] & 0xFF)) ||
(nCol + 1 < aLine.getLength() && aLine[nCol] == '.' && theBasicCharClass::get().isDigit(aLine[nCol + 1] & 0xFF)))
{
short exp = 0;
short comma = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment