ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the

new comment patterns get included.
This commit is contained in:
Jack Jansen 2000-07-15 22:27:47 +00:00
parent e201cbad0b
commit 629eee0636
1 changed files with 1 additions and 0 deletions

View 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]+"