Pylint fix.
Test: pylint cc/gen_stub_libs.py Bug: None Change-Id: Ifa397b2b69a835d7f61731e4f240fa5971858f4c
This commit is contained in:
@@ -274,7 +274,8 @@ class SymbolFileParser(object):
|
|||||||
elif global_scope and not cpp_symbols:
|
elif global_scope and not cpp_symbols:
|
||||||
symbols.append(self.parse_symbol())
|
symbols.append(self.parse_symbol())
|
||||||
else:
|
else:
|
||||||
# We're in a hidden scope or in 'extern "C++"' block. Ignore everything.
|
# We're in a hidden scope or in 'extern "C++"' block. Ignore
|
||||||
|
# everything.
|
||||||
pass
|
pass
|
||||||
raise ParseError('Unexpected EOF in version block.')
|
raise ParseError('Unexpected EOF in version block.')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user