Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 629eee0

Browse files
committed
ScannerPREUH3.initpatterns() should call Scanner.initpatterns() so the
new comment patterns get included.
1 parent e201cba commit 629eee0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Tools/bgen/bgen/scantools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ def unmanageable(self, type, name, arglist):
558558
class Scanner_PreUH3(Scanner):
559559
"""Scanner for Universal Headers before release 3"""
560560
def initpatterns(self):
561+
Scanner.initpatterns(self)
561562
self.head_pat = "^extern pascal[ \t]+" # XXX Mac specific!
562563
self.tail_pat = "[;={}]"
563564
self.type_pat = "pascal[ \t\n]+\(<type>[a-zA-Z0-9_ \t]*[a-zA-Z0-9_]\)[ \t\n]+"

0 commit comments

Comments
 (0)