diff options
Diffstat (limited to 'src/python/m5/SimObject.py')
-rw-r--r-- | src/python/m5/SimObject.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/m5/SimObject.py b/src/python/m5/SimObject.py index 710f85fde..00c18976d 100644 --- a/src/python/m5/SimObject.py +++ b/src/python/m5/SimObject.py @@ -126,7 +126,7 @@ def default_swig_objdecls(cls, code): code('{};') for ns in reversed(namespaces): - code('/* namespace $ns */ }') + code('} // namespace $ns') def public_value(key, value): return key.startswith('_') or \ @@ -390,7 +390,7 @@ class MetaSimObject(type): code('namespace $ns {') code('class $0;', class_path[-1]) for ns in reversed(class_path[:-1]): - code('/* namespace $ns */ }') + code('} // namespace $ns') code() for param in params: |