summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/fm
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-01-03 16:44:27 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-01-03 16:44:27 (GMT)
commitb55e5f1b62534786cf7e5be9fe25473a78613b83 (patch)
tree0d7a823ef3fd4b487343627c2199f294d749a692 /Mac/Modules/fm
parent2d4ac208b595083cd3229da368294f34977e5cfa (diff)
downloadcpython-b55e5f1b62534786cf7e5be9fe25473a78613b83.zip
cpython-b55e5f1b62534786cf7e5be9fe25473a78613b83.tar.gz
cpython-b55e5f1b62534786cf7e5be9fe25473a78613b83.tar.bz2
Fixed a few declarations.
Diffstat (limited to 'Mac/Modules/fm')
-rw-r--r--Mac/Modules/fm/fmscan.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/fm/fmscan.py b/Mac/Modules/fm/fmscan.py
index 9c9cab9..02f8ec2 100644
--- a/Mac/Modules/fm/fmscan.py
+++ b/Mac/Modules/fm/fmscan.py
@@ -59,5 +59,9 @@ class MyScanner(Scanner):
([('FMetricRecPtr', 'theMetrics', 'InMode')], [('FMetricRecPtr', 'theMetrics', 'OutMode')]),
]
+ def writeinitialdefs(self):
+ self.defsfile.write("def FOUR_CHAR_CODE(x): return x\n")
+ self.defsfile.write("kNilOptions = 0\n")
+
if __name__ == "__main__":
main()