oops. the enums were actually creating symbols

svn:r212
This commit is contained in:
Niels Provos 2006-05-17 13:13:31 +00:00
parent 71108cd98b
commit ebf5333f97

View File

@ -63,7 +63,7 @@ class Struct:
print >>file, ' %s=%d,' % (self.EntryTagName(entry), print >>file, ' %s=%d,' % (self.EntryTagName(entry),
entry.Tag()) entry.Tag())
print >>file, ' %s_MAX_TAGS' % (self._name.upper()) print >>file, ' %s_MAX_TAGS' % (self._name.upper())
print >>file, '} %s_tags;\n' % (self._name.lower()) print >>file, '};\n'
def PrintForwardDeclaration(self, file): def PrintForwardDeclaration(self, file):
print >>file, 'struct %s;' % self._name print >>file, 'struct %s;' % self._name