Fixed the bugs in the constant definitions, and in the code to test

them.
The FutureWarnings are still there, until a way has been found to
say "I know what I'm doing here when I say 0xff000000".
This commit is contained in:
Jack Jansen 2002-08-15 22:05:58 +00:00
parent 87eea88b5a
commit 7ca993ed37
4 changed files with 14 additions and 10 deletions

View file

@ -19,8 +19,8 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
print "=== Testing definitions output code ==="
execfile(defsoutput, {}, {})
## print "=== Testing definitions output code ==="
## execfile(defsoutput, {}, {})
print "=== Done scanning and generating, now importing the generated code... ==="
exec "import " + SHORT + "support"
print "=== Done. It's up to you to compile it now! ==="