diff options
author | Karel Kočí <cynerd@email.cz> | 2015-05-01 22:40:43 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-05-01 22:40:43 +0200 |
commit | c1eb1bb0e63499bc48ce41510886064746cba239 (patch) | |
tree | 6d7d23572df1e0c94220b4b7da1d519fee6c38a6 /scripts/parse_kconfig | |
parent | a8694ad53dbaf72232398d33e0a94328041c6a1b (diff) | |
download | linux-conf-perf-c1eb1bb0e63499bc48ce41510886064746cba239.tar.gz linux-conf-perf-c1eb1bb0e63499bc48ce41510886064746cba239.tar.bz2 linux-conf-perf-c1eb1bb0e63499bc48ce41510886064746cba239.zip |
parse_kconfig add missing rule
Diffstat (limited to 'scripts/parse_kconfig')
-rw-r--r-- | scripts/parse_kconfig/parse.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/parse_kconfig/parse.c b/scripts/parse_kconfig/parse.c index 1a26ef3..7de4f2b 100644 --- a/scripts/parse_kconfig/parse.c +++ b/scripts/parse_kconfig/parse.c @@ -164,6 +164,17 @@ void cpy_dep() { pw = boolexpr_and(pw, w4); } cnf_boolexpr(gsymlist, pw); + switch (pw->type) { + case BT_TRUE: + break; + case BT_FALSE: + Eprintf + ("E: Root terms is false. This shouldn't happen.\n"); + break; + default: + output_rules_symbol((int) pw->id); + output_rules_endterm(); + } boolexpr_free(pw); } } |