diff options
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/m5/SimObject.py | 4 | ||||
-rw-r--r-- | src/python/m5/params.py | 2 | ||||
-rw-r--r-- | src/python/swig/stats.i | 2 |
3 files changed, 4 insertions, 4 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: diff --git a/src/python/m5/params.py b/src/python/m5/params.py index 0093a411d..2c3925d99 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -1004,7 +1004,7 @@ namespace Enums { code.dedent(2) code(''' }; -/* namespace Enums */ } +} // namespace Enums ''') # Base class for enum types. diff --git a/src/python/swig/stats.i b/src/python/swig/stats.i index fc4a83394..eaa4c31c8 100644 --- a/src/python/swig/stats.i +++ b/src/python/swig/stats.i @@ -59,4 +59,4 @@ void reset(); std::list<Info *> &statsList(); -/* namespace Stats */ } +} // namespace Stats |