summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-15 22:27:47 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-15 22:27:47 (GMT)
commit629eee063689dc045a5d6a3243e9f4dac432903f (patch)
tree4a5a8ebb401030f1362e1a90116a6a27f91aebff /Tools
parente201cbad0b1265a1faa9904a11d5d44186ac9952 (diff)
downloadcpython-629eee063689dc045a5d6a3243e9f4dac432903f.zip
cpython-629eee063689dc045a5d6a3243e9f4dac432903f.tar.gz
cpython-629eee063689dc045a5d6a3243e9f4dac432903f.tar.bz2
ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the
new comment patterns get included.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/bgen/bgen/scantools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py
index 29c90c1..e51c21a 100644
--- a/Tools/bgen/bgen/scantools.py
+++ b/Tools/bgen/bgen/scantools.py
@@ -558,6 +558,7 @@ if missing: raise "Missing Types"
class Scanner_PreUH3(Scanner):
"""Scanner for Universal Headers before release 3"""
def initpatterns(self):
+ Scanner.initpatterns(self)
self.head_pat = "^extern pascal[ \t]+" # XXX Mac specific!
self.tail_pat = "[;={}]"
self.type_pat = "pascal[ \t\n]+\(<type>[a-zA-Z0-9_ \t]*[a-zA-Z0-9_]\)[ \t\n]+"