Kaydet (Commit) 2369a98e authored tarafından Jack Jansen's avatar Jack Jansen

Updated for Waste 1.3

üst 40bd7706
This diff is collapsed.
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
import addpack import addpack
addpack.addpack(':tools:bgen:bgen') addpack.addpack(':tools:bgen:bgen')
from scantools import Scanner from scantools import Scanner_PreUH3
from bgenlocations import MWERKSDIR, TOOLBOXDIR from bgenlocations import MWERKSDIR, TOOLBOXDIR
WASTEDIR=":::::Waste 1.2 Distribution:WASTE C/C++ Headers:" WASTEDIR=":::::Waste 1.3 Distribution:WASTE C/C++ Headers:"
OBJECT = "TEHandle" OBJECT = "TEHandle"
SHORT = "waste" SHORT = "waste"
...@@ -24,7 +24,7 @@ def main(): ...@@ -24,7 +24,7 @@ def main():
exec "import " + SHORT + "support" exec "import " + SHORT + "support"
print "=== Done. It's up to you to compile it now! ===" print "=== Done. It's up to you to compile it now! ==="
class MyScanner(Scanner): class MyScanner(Scanner_PreUH3):
def destination(self, type, name, arglist): def destination(self, type, name, arglist):
classname = "Function" classname = "Function"
...@@ -42,6 +42,8 @@ class MyScanner(Scanner): ...@@ -42,6 +42,8 @@ class MyScanner(Scanner):
listname = "methods2" listname = "methods2"
return classname, listname return classname, listname
def writeinitialdefs(self):
self.defsfile.write("kPascalStackBased = None # workaround for header parsing\n")
def makeblacklistnames(self): def makeblacklistnames(self):
return [ return [
"WEDispose", "WEDispose",
......
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