aboutsummaryrefslogtreecommitdiff
path: root/devtools/tasmrecover
diff options
context:
space:
mode:
authorMax Horn2011-12-06 20:09:54 +0100
committerWillem Jan Palenstijn2011-12-06 21:51:16 +0100
commit9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43 (patch)
treece5c6f4e0a87c82efd2a119e29c21127802152d8 /devtools/tasmrecover
parent7cff0111ca2cb631cbb109c62d0cf7ede96e9012 (diff)
downloadscummvm-rg350-9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43.tar.gz
scummvm-rg350-9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43.tar.bz2
scummvm-rg350-9a7b8340c5c77b04b4eaf934b6c9093cf66c2e43.zip
DREAMWEB: Fix generated namespace comments
Diffstat (limited to 'devtools/tasmrecover')
-rw-r--r--devtools/tasmrecover/tasm/cpp.py6
1 files changed, 3 insertions, 3 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()