From 2a4d38392cf56633a2270730346f7ccef73631bf Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 1 Mar 2018 14:23:56 +0100 Subject: Give .config location in invalid bool/tristate value warning Oversight --- kconfiglib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kconfiglib.py b/kconfiglib.py index 4951674..51e1b5d 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -751,7 +751,8 @@ class Kconfig(object): self._warn("'{}' is not a valid value for the {} " "symbol {}. Assignment ignored." .format(val, TYPE_TO_STR[sym.orig_type], - _name_and_loc_str(sym))) + _name_and_loc_str(sym)), + filename, linenr) continue val = val[0] -- cgit v1.2.3