diff options
author | Guido van Rossum <guido@python.org> | 1995-02-27 10:11:31 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-02-27 10:11:31 (GMT) |
commit | ea64dea05f3f8fe069a7b3609064189ceb3861dd (patch) | |
tree | b85e31c00bf81ea316f22bf3adbd525e8f409ebd /Tools/bgen | |
parent | 8cebe3815fd0b54c44a12524109b65990408239b (diff) | |
download | cpython-ea64dea05f3f8fe069a7b3609064189ceb3861dd.zip cpython-ea64dea05f3f8fe069a7b3609064189ceb3861dd.tar.gz cpython-ea64dea05f3f8fe069a7b3609064189ceb3861dd.tar.bz2 |
another round
Diffstat (limited to 'Tools/bgen')
-rw-r--r-- | Tools/bgen/bgen/scantools.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py index e6f9b9a..4a6fd7c 100644 --- a/Tools/bgen/bgen/scantools.py +++ b/Tools/bgen/bgen/scantools.py @@ -1,4 +1,5 @@ """\ + Tools for scanning header files in search of function prototypes. Often, the function prototypes in header files contain enough information @@ -353,6 +354,9 @@ class Scanner: if self.blacklisted(type, name): self.error("*** %s %s blacklisted", type, name) return + returnlist = [(type, name, 'ReturnMode')] + returnlist = self.repairarglist(name, returnlist) + [(type, name, returnmode)] = returnlist arglist = self.extractarglist(args) arglist = self.repairarglist(name, arglist) if self.unmanageable(type, name, arglist): @@ -481,3 +485,4 @@ def test(): if __name__ == '__main__': test() + |