Remove incorrect text "warning: " on generate-kconfig-udlr.py exception

This is not a warning.  It is a fatal error.
This commit is contained in:
Kp 2018-02-01 05:38:47 +00:00
parent 6e5c5f5c49
commit 36f5e6103b

View file

@ -136,7 +136,7 @@ class Main:
for lno, line in lines:
m = _re_match_init_element(line)
if m is None:
raise InputException('warning: %s:%u: failed to match regex\n' % (source, lno))
raise InputException('%s:%u: failed to match regex for line %r\n' % (source, lno, line))
m = m.group
array.append(a(
self.resolve_expr(source, lno, 'xinput', m('xinput')),