mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the
new comment patterns get included.
This commit is contained in:
parent
e201cbad0b
commit
629eee0636
1 changed files with 1 additions and 0 deletions
|
|
@ -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]+"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue