diff options
author | Max Horn | 2011-12-06 20:09:54 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-06 21:51:16 +0100 |
commit | 9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43 (patch) | |
tree | ce5c6f4e0a87c82efd2a119e29c21127802152d8 | |
parent | 7cff0111ca2cb631cbb109c62d0cf7ede96e9012 (diff) | |
download | scummvm-rg350-9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43.tar.gz scummvm-rg350-9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43.tar.bz2 scummvm-rg350-9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43.zip |
DREAMWEB: Fix generated namespace comments
-rw-r--r-- | devtools/tasmrecover/tasm/cpp.py | 6 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 2 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/devtools/tasmrecover/tasm/cpp.py b/devtools/tasmrecover/tasm/cpp.py index df5a71d41c..a302fa1164 100644 --- a/devtools/tasmrecover/tasm/cpp.py +++ b/devtools/tasmrecover/tasm/cpp.py @@ -563,7 +563,7 @@ namespace %s { fd.write("void %sContext::%s() {\n\t::error(\"%s\");\n}\n\n" %(self.namespace, self.function_name_remapping[p], self.function_name_remapping[p])) else: fd.write("void %sContext::%s() {\n\t::error(\"%s\");\n}\n\n" %(self.namespace, p, p)) - fd.write("} /*namespace %s */\n" %self.namespace) + fd.write("} // End of namespace %s\n" %self.namespace) fd.close() @@ -659,7 +659,7 @@ public: else: self.hd.write("\tvoid %s();\n" %p) - self.hd.write("};\n}\n\n#endif\n") + self.hd.write("};\n\n} // End of namespace DreamGen\n\n#endif\n") self.hd.close() self.fd.write("void %sContext::__start() { %s\t%s(); \n}\n" %(self.namespace, data_impl, start)) @@ -672,5 +672,5 @@ public: self.fd.write("\t\tdefault: ::error(\"invalid call to %04x dispatched\", (uint16)ax);") self.fd.write("\n\t}\n}") - self.fd.write("\n} /*namespace*/\n") + self.fd.write("\n} // End of namespace DreamGen\n") self.fd.close() diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 33f1939d6e..1ab7af082e 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -8584,4 +8584,4 @@ void DreamGenContext::__start() { dreamweb(); } -} /*namespace*/ +} // End of namespace DreamGen diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index a24c63163c..58c19c5834 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -784,6 +784,7 @@ public: void createFile(); void fadeToWhite(); }; -} + +} // End of namespace DreamGen #endif |