Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
build/
*.egg-info/
dist/
tests/config_test*
6 changes: 5 additions & 1 deletion kconfiglib.py
Original file line number Diff line number Diff line change
Expand Up @@ -3151,6 +3151,8 @@ def _parse_props(self, node):
node.dep = self._make_and(node.dep,
self._expect_expr_and_eol())

elif t0 is _T_TRANSITIONAL:
continue
elif t0 is _T_HELP:
self._parse_help(node)

Expand Down Expand Up @@ -7010,9 +7012,10 @@ def _shell_fn(kconf, _, command):
_T_SOURCE,
_T_STRING,
_T_TRISTATE,
_T_TRANSITIONAL,
_T_UNEQUAL,
_T_VISIBLE,
) = range(1, 51)
) = range(1, 52)

# Keyword to token map, with the get() method assigned directly as a small
# optimization
Expand Down Expand Up @@ -7059,6 +7062,7 @@ def _shell_fn(kconf, _, command):
"source": _T_SOURCE,
"string": _T_STRING,
"tristate": _T_TRISTATE,
"transitional": _T_TRANSITIONAL,
"visible": _T_VISIBLE,
}.get

Expand Down
Loading