[Scummvm-cvs-logs] SF.net SVN: scummvm:[51210] tools/branches/gsoc2010-decompiler/decompiler/ scummv6/codegen.cpp

pidgeot at users.sourceforge.net pidgeot at users.sourceforge.net
Fri Jul 23 17:07:42 CEST 2010


Revision: 51210
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51210&view=rev
Author:   pidgeot
Date:     2010-07-23 15:07:42 +0000 (Fri, 23 Jul 2010)

Log Message:
-----------
Add missing ; after SCUMMv6 inc/dec instructions

Modified Paths:
--------------
    tools/branches/gsoc2010-decompiler/decompiler/scummv6/codegen.cpp

Modified: tools/branches/gsoc2010-decompiler/decompiler/scummv6/codegen.cpp
===================================================================
--- tools/branches/gsoc2010-decompiler/decompiler/scummv6/codegen.cpp	2010-07-23 14:32:24 UTC (rev 51209)
+++ tools/branches/gsoc2010-decompiler/decompiler/scummv6/codegen.cpp	2010-07-23 15:07:42 UTC (rev 51210)
@@ -146,7 +146,7 @@
 			{
 				std::stringstream s;
 				EntryPtr p = new UnaryOpEntry(new VarEntry(decodeVarName(inst._params[0].getUnsigned())), inst._codeGenData.substr(1));
-				s << p;
+				s << p << ";";
 				addOutputLine(s.str());
 			}
 			break;
@@ -159,7 +159,7 @@
 				EntryList idxs;
 				idxs.push_front(_stack.pop());
 				EntryPtr p = new UnaryOpEntry(new ArrayEntry(decodeVarName(inst._params[0].getUnsigned()), idxs), inst._codeGenData.substr(1));
-				s << p;
+				s << p << ";";
 				addOutputLine(s.str());
 			}
 			break;


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