We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a7eeaa commit a285047Copy full SHA for a285047
ci/symbols_depend.py
@@ -64,7 +64,7 @@ def track_if_blocks(symbol, target_kconfig):
64
65
for kconfig in get_all_parent_kconfigs(path.dirname(target_kconfig)):
66
if debug:
67
- print(f"{target_kconfig}: Tracking if blocks at '{kconfig}'",
+ print(f"{target_kconfig}: Tracking if blocks at '{kconfig}' for symbol '{symbol}'",
68
file=stderr)
69
with open(kconfig, 'r') as f:
70
lines = f.readlines()
@@ -74,7 +74,7 @@ def track_if_blocks(symbol, target_kconfig):
74
line_ = line.strip()
75
if line.startswith('if '):
76
stack.append(line[3:].strip())
77
- elif line_ == 'endif':
+ elif line_.startswith('endif'):
78
if stack:
79
stack.pop()
80
elif line_.startswith('source') and line_.endswith('Kconfig"'):
0 commit comments