diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-14 15:47:01 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-14 15:47:01 (GMT) |
commit | b1b78d85d389c55ba4fb59b581e881c3eac2f03e (patch) | |
tree | 86ce94934584a2678a6a447b7afbc1f5b6295d94 /Mac/Modules/icn | |
parent | 13681b73b5d951a8f2c453aa20a2f11d75474d31 (diff) | |
download | cpython-b1b78d85d389c55ba4fb59b581e881c3eac2f03e.zip cpython-b1b78d85d389c55ba4fb59b581e881c3eac2f03e.tar.gz cpython-b1b78d85d389c55ba4fb59b581e881c3eac2f03e.tar.bz2 |
Bgen now understands more constant definitions, but that means that a few which are not parseable in Python have to be blacklisted.
Diffstat (limited to 'Mac/Modules/icn')
-rw-r--r-- | Mac/Modules/icn/icnscan.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Mac/Modules/icn/icnscan.py b/Mac/Modules/icn/icnscan.py index c8c2e6b..ee5a269 100644 --- a/Mac/Modules/icn/icnscan.py +++ b/Mac/Modules/icn/icnscan.py @@ -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() |