Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4cd4dbac
Commit
4cd4dbac
authored
Dec 15, 2002
by
Roman Zippel
Committed by
Linus Torvalds
Dec 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] kconfig: dependencies for choices
Enable dependencies for choice defaults.
parent
3cc84419
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
133 deletions
+72
-133
scripts/kconfig/zconf.tab.c_shipped
scripts/kconfig/zconf.tab.c_shipped
+70
-129
scripts/kconfig/zconf.y
scripts/kconfig/zconf.y
+2
-4
No files found.
scripts/kconfig/zconf.tab.c_shipped
View file @
4cd4dbac
This diff is collapsed.
Click to expand it.
scripts/kconfig/zconf.y
View file @
4cd4dbac
...
@@ -227,10 +227,9 @@ choice_option: T_OPTIONAL
...
@@ -227,10 +227,9 @@ choice_option: T_OPTIONAL
printd(DEBUG_PARSE, "%s:%d:optional\n", zconf_curname(), zconf_lineno());
printd(DEBUG_PARSE, "%s:%d:optional\n", zconf_curname(), zconf_lineno());
};
};
choice_option: T_DEFAULT symbol
choice_option: T_DEFAULT symbol
if_expr
{
{
menu_add_prop(P_DEFAULT, NULL, $2, NULL);
menu_add_prop(P_DEFAULT, NULL, $2, $3);
//current_choice->prop->def = $2;
printd(DEBUG_PARSE, "%s:%d:default\n", zconf_curname(), zconf_lineno());
printd(DEBUG_PARSE, "%s:%d:default\n", zconf_curname(), zconf_lineno());
};
};
...
@@ -245,7 +244,6 @@ if: T_IF expr
...
@@ -245,7 +244,6 @@ if: T_IF expr
{
{
printd(DEBUG_PARSE, "%s:%d:if\n", zconf_curname(), zconf_lineno());
printd(DEBUG_PARSE, "%s:%d:if\n", zconf_curname(), zconf_lineno());
menu_add_entry(NULL);
menu_add_entry(NULL);
//current_entry->prompt = menu_add_prop(T_IF, NULL, NULL, $2);
menu_add_dep($2);
menu_add_dep($2);
menu_end_entry();
menu_end_entry();
menu_add_menu();
menu_add_menu();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment