summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/waste/wastescan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-08-06 16:04:22 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-08-06 16:04:22 (GMT)
commit2268af58731c305b7bacaf7308189f6247f91894 (patch)
tree8cfd99d2e17ebf698bdde39d666add3abb572d35 /Mac/Modules/waste/wastescan.py
parentcf34d2a01000577b084cb9cbddf5e257e09561e5 (diff)
downloadcpython-2268af58731c305b7bacaf7308189f6247f91894.zip
cpython-2268af58731c305b7bacaf7308189f6247f91894.tar.gz
cpython-2268af58731c305b7bacaf7308189f6247f91894.tar.bz2
Upgraded to Waste 1.2f
Diffstat (limited to 'Mac/Modules/waste/wastescan.py')
-rw-r--r--Mac/Modules/waste/wastescan.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/Mac/Modules/waste/wastescan.py b/Mac/Modules/waste/wastescan.py
index 376ca4c..add9364 100644
--- a/Mac/Modules/waste/wastescan.py
+++ b/Mac/Modules/waste/wastescan.py
@@ -5,7 +5,7 @@ addpack.addpack(':tools:bgen:bgen')
from scantools import Scanner
from bgenlocations import TOOLBOXDIR
-WASTEDIR=":::::Waste 1.2a5:"
+WASTEDIR=":::::Waste 1.2 distribution:"
OBJECT = "TEHandle"
SHORT = "waste"
@@ -26,11 +26,6 @@ def main():
class MyScanner(Scanner):
- def initpatterns(self):
- # Waste doesn't use 'extern':
- Scanner.initpatterns(self)
- self.head_pat = "^pascal[ \t]+"
-
def destination(self, type, name, arglist):
classname = "Function"
listname = "functions"
@@ -52,6 +47,7 @@ class MyScanner(Scanner):
"WEDispose",
"WESetInfo", # Argument type unknown...
"WEGetInfo",
+ "WEVersion", # Unfortunately...
]
def makeblacklisttypes(self):
@@ -62,7 +58,7 @@ class MyScanner(Scanner):
def makerepairinstructions(self):
return [
- ([("void_ptr", "*", "InMode"), ("long", "*", "InMode")],
+ ([("void_ptr", "*", "InMode"), ("SInt32", "*", "InMode")],
[("InBuffer", "*", "*")]),
# WEContinuousStyle