Decoding simple files with functions and assignments is now possible

This commit is contained in:
Michael Hansen 2009-07-27 00:23:49 +00:00
commit 03042b7e23
12 changed files with 330 additions and 180 deletions

View file

@ -39,11 +39,15 @@ bool PycString::isEqual(PycRef<PycObject> obj) const
return false;
PycRef<PycString> strObj = obj.cast<PycString>();
if (m_value == strObj->m_value)
return true;
return (strcmp(m_value, strObj->m_value) == 0);
return isEqual(strObj->m_value);
}
bool PycString::isEqual(const char* str) const
{
if (m_value == str)
return true;
return (strcmp(m_value, str) == 0);
}
void OutputString(PycRef<PycString> str, QuoteStyle style, FILE* F)
{