diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-06 13:08:40 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-06-06 13:08:40 (GMT) |
commit | b81cf9d61c71f9b5949b9424cec1f59ac4a426e8 (patch) | |
tree | 2b8fdc1f0dfd48b31a650f5a41864a8dc0b5ea7e /Mac/Modules/menu/menuscan.py | |
parent | ae8a68f40cd56aa952520260970ebd5b9d3fb95c (diff) | |
download | cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.zip cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.tar.gz cpython-b81cf9d61c71f9b5949b9424cec1f59ac4a426e8.tar.bz2 |
Trying again to check it in. Changes to:
- Use Universal Headers as input
- Change addpack calls to not depend on Guido's disklayout
- Checkge testprograms to use new names for some functions
Diffstat (limited to 'Mac/Modules/menu/menuscan.py')
-rw-r--r-- | Mac/Modules/menu/menuscan.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Modules/menu/menuscan.py b/Mac/Modules/menu/menuscan.py index b120052..08a6a04 100644 --- a/Mac/Modules/menu/menuscan.py +++ b/Mac/Modules/menu/menuscan.py @@ -1,4 +1,6 @@ # Scan <Menus.h>, generating menugen.py. +import addpack +addpack.addpack(':Tools:bgen:bgen') from scantools import Scanner @@ -20,7 +22,7 @@ class MyScanner(Scanner): listname = "functions" if arglist: t, n, m = arglist[0] - if t == "MenuHandle" and m == "InMode": + if t in ("MenuHandle", "MenuRef") and m == "InMode": classname = "Method" listname = "methods" return classname, listname |