[Scummvm-cvs-logs] SF.net SVN: scummvm:[51080] tools/branches/gsoc2010-decompiler/decompiler/ codegen.cpp
pidgeot at users.sourceforge.net
pidgeot at users.sourceforge.net
Wed Jul 21 03:01:22 CEST 2010
Revision: 51080
http://scummvm.svn.sourceforge.net/scummvm/?rev=51080&view=rev
Author: pidgeot
Date: 2010-07-21 01:01:22 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
Fix output of assignments in dups
Modified Paths:
--------------
tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp
Modified: tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp 2010-07-21 00:48:07 UTC (rev 51079)
+++ tools/branches/gsoc2010-decompiler/decompiler/codegen.cpp 2010-07-21 01:01:22 UTC (rev 51080)
@@ -37,7 +37,7 @@
return this;
EntryPtr dupEntry = new DupEntry(++dupindex);
- output << dupEntry << " = " << this;
+ output << dupEntry << " = " << (EntryPtr)this;
return dupEntry;
}
@@ -92,6 +92,7 @@
}
// Print output
+ // TODO: Proper indenting, terminate if/whiles, start do/whiles
p = GET(entryPoint);
while (p != NULL) {
for (std::vector<std::string>::iterator it = p->_code.begin(); it != p->_code.end(); ++it)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list