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:
parent
6e5c5f5c49
commit
36f5e6103b
|
@ -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')),
|
||||
|
|
Loading…
Reference in a new issue