Skip to content
Snippets Groups Projects
Commit cad763ab authored by Axel Naumann's avatar Axel Naumann
Browse files

First GCCXML0.9 fix

git-svn-id: http://root.cern.ch/svn/root/trunk@23729 27541ba8-7e3a-0410-8455-c3a389f83636
parent 2edd70fb
No related branches found
No related tags found
No related merge requests found
......@@ -1075,7 +1075,8 @@ class genDictionary(object) :
if (attrs.get('const') == '1') : s += ' const'
if (attrs.get('volatile') == '1') : s += ' volatile'
elif elem == 'ArrayType' :
arr = '[%s]' % str(int(attrs['max'])+1)
max = attrs['max'].rstrip('u')
arr = '[%s]' % str(int(max)+1)
typ = self.genTypeName(attrs['type'], enum, const, colon)
if typ[-1] == ']' :
pos = typ.find('[')
......
#include <list>
#include <cstdlib>
namespace {
class ForwardedUnnamedType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment