summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/mkestrres.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-04-22 11:44:26 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-04-22 11:44:26 (GMT)
commit117dbdf4b46c9859d787fbd97f16133bf487f264 (patch)
tree082eed1063e34584cf0c64515bcd8acc56a08189 /Mac/scripts/mkestrres.py
parent44c4c6dbd6044291ca139edd4f0add84d784df04 (diff)
downloadcpython-117dbdf4b46c9859d787fbd97f16133bf487f264.zip
cpython-117dbdf4b46c9859d787fbd97f16133bf487f264.tar.gz
cpython-117dbdf4b46c9859d787fbd97f16133bf487f264.tar.bz2
Added an optional file with MacErrors.h extensions: IC errors aren't in there.
Bugfix candidate.
Diffstat (limited to 'Mac/scripts/mkestrres.py')
-rw-r--r--Mac/scripts/mkestrres.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/scripts/mkestrres.py b/Mac/scripts/mkestrres.py
index c5ff6d3..bf56e43 100644
--- a/Mac/scripts/mkestrres.py
+++ b/Mac/scripts/mkestrres.py
@@ -123,6 +123,12 @@ def main():
parse_errors_h(fp, dict)
fp.close()
+ fss, ok = macfs.PromptGetFile("Where is mkestrres-MacErrors.h?")
+ if not ok: return
+ fp = open(fss.as_pathname())
+ parse_errors_h(fp, dict)
+ fp.close()
+
if not dict:
return