]> granicus.if.org Git - python/commitdiff
ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the
authorJack Jansen <jack.jansen@cwi.nl>
Sat, 15 Jul 2000 22:27:47 +0000 (22:27 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sat, 15 Jul 2000 22:27:47 +0000 (22:27 +0000)
new comment patterns get included.

Tools/bgen/bgen/scantools.py

index 29c90c18d07a6919087a2596ea969f53e58d9f2e..e51c21af145cafbba578f0e3ffa5e7cc63ee12cf 100644 (file)
@@ -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]+"