summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py3
1 files changed, 2 insertions, 1 deletions
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]