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

@ -45,8 +45,8 @@ class MyScanner(Scanner):
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
self.defsfile.write("from TextEdit import *\n")
self.defsfile.write("from QuickDraw import *\n")
self.defsfile.write("from Carbon.TextEdit import *\n")
self.defsfile.write("from Carbon.QuickDraw import *\n")
self.defsfile.write("\n")
# Defines unparseable in Drag.h
self.defsfile.write(MISSING_DEFINES)