Bgen now understands more constant definitions, but that means that a few which are not parseable in Python have to be blacklisted.

This commit is contained in:
Jack Jansen 1999-12-14 15:47:01 +00:00
parent 13681b73b5
commit b1b78d85d3
7 changed files with 32 additions and 2 deletions

View file

@ -39,6 +39,10 @@ class MyScanner(Scanner):
return [
"GetIconCacheData",
"SetIconCacheData",
# Constants with funny definitions
"kSelectorAllHugeData",
"kSelectorAllAvailableData",
"svAllAvailableData",
]
def makeblacklisttypes(self):
@ -51,6 +55,9 @@ class MyScanner(Scanner):
def makerepairinstructions(self):
return [
]
def writeinitialdefs(self):
self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
if __name__ == "__main__":
main()