diff options
author | Brent Eagles <brent@zeroc.com> | 2007-06-04 03:39:15 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2007-06-04 03:39:15 +0000 |
commit | 7b50e1a9ec6aeb1150957d253c94a73b308c00fb (patch) | |
tree | 12ea87abc770a24ddefa3d1f8ef7efdc8d5e27e7 /cpp/config/makeprops.py | |
parent | Bug 1597. (diff) | |
download | ice-7b50e1a9ec6aeb1150957d253c94a73b308c00fb.tar.bz2 ice-7b50e1a9ec6aeb1150957d253c94a73b308c00fb.tar.xz ice-7b50e1a9ec6aeb1150957d253c94a73b308c00fb.zip |
fix member variable declaration in generated header
Diffstat (limited to 'cpp/config/makeprops.py')
-rw-r--r-- | cpp/config/makeprops.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cpp/config/makeprops.py b/cpp/config/makeprops.py index 355f0a2a249..d3fc8d46ad1 100644 --- a/cpp/config/makeprops.py +++ b/cpp/config/makeprops.py @@ -86,8 +86,8 @@ public: """ cppHeaderPostamble = """ - static const PropertyArray IceInternal::%(classname)s::validProps[]; - static const char * IceInternal::%(classname)s::clPropNames[]; + static const PropertyArray validProps[]; + static const char * clPropNames[]; }; } @@ -661,7 +661,12 @@ def main(): infile = None lang = None + toplevel = '..' + # + # TODO: Why does determining the top level directory depend on which + # arguments are used? + # if len(sys.argv) == 1: # # Find where the root of the tree is. |