Commit c6dd19c2 authored by Jack Jansen's avatar Jack Jansen

Upgraded to Waste 1.2f

parent 73de007d
This diff is collapsed.
......@@ -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
......
......@@ -38,6 +38,7 @@ OptStScrpHandle = OpaqueByValueType("StScrpHandle", "OptResObj")
WEStyleMode = Type("WEStyleMode", "h")
WEActionKind = Type("WEActionKind", "h")
WEAlignment = Type("WEAlignment", "b")
WEEdge = Type("WEEdge", "b")
WESoupHandle = OpaqueByValueType("WESoupHandle", "ResObj")
WERunInfo = OpaqueType("WERunInfo", "RunInfo")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment