mirror of git://sourceware.org/git/glibc.git
Without this change, parse failures result in an exception:
Traceback (most recent call last):
File "tst-glibcelf.py", line 23, in <module>
import glibcelf
File "/path/to/git/scripts/glibcelf.py", line 226, in <module>
_elf_h = _parse_elf_h()
File "/path/to/git/scripts/glibcelf.py", line 221, in _parse_elf_h
result = glibcpp.macro_eval(glibcpp.macro_definitions(tokens), reporter)
File "/path/to/git/scripts/glibcpp.py", line 379, in macro_eval
reporter.error(md.line, 'macro {} redefined'.format(md.name))
File "/path/to/git/scripts/glibcelf.py", line 214, in error
errors += 1
UnboundLocalError: local variable 'errors' referenced before assignment
|
||
|---|---|---|
| .. | ||
| abi-versions.awk | ||
| abilist.awk | ||
| backport-support.sh | ||
| build-many-glibcs.py | ||
| check-c++-types.sh | ||
| check-execstack.awk | ||
| check-initfini.awk | ||
| check-installed-headers.sh | ||
| check-local-headers.sh | ||
| check-localplt.awk | ||
| check-obsolete-constructs.py | ||
| check-textrel.awk | ||
| check-wrapper-headers.py | ||
| check-wx-segment.py | ||
| config-uname.sh | ||
| config.guess | ||
| config.sub | ||
| cpp | ||
| cross-test-ssh.sh | ||
| documented.sh | ||
| dso-ordering-test.py | ||
| evaluate-test.sh | ||
| firstversions.awk | ||
| gen-as-const.py | ||
| gen-libc-abis | ||
| gen-libc-modules.awk | ||
| gen-posix-conf-vars.awk | ||
| gen-rrtypes.py | ||
| gen-sorted.awk | ||
| gen-tunables.awk | ||
| glibc_shared_code.py | ||
| glibcelf.py | ||
| glibcextract.py | ||
| glibcpp.py | ||
| glibcsymbols.py | ||
| haveversions.awk | ||
| install-sh | ||
| lib-names.awk | ||
| list-fixed-bugs.py | ||
| list-sources.sh | ||
| localplt.awk | ||
| merge-test-results.sh | ||
| mkinstalldirs | ||
| move-if-change | ||
| move-symbol-to-libc.py | ||
| pylint | ||
| pylintrc | ||
| rellns-sh | ||
| soversions.awk | ||
| sysd-rules.awk | ||
| test-installation.pl | ||
| test_printers_common.py | ||
| test_printers_exceptions.py | ||
| tst-elf-edit.py | ||
| tst-ld-trace.py | ||
| update-abilist.sh | ||
| update-copyrights | ||
| vcstocl_quirks.py | ||
| versionlist.awk | ||
| versions.awk | ||