]> git.ipfire.org Git - thirdparty/libvirt.git/commit
syntax-check: Simplify and fix unmarked_diagnostics
authorAndrea Bolognani <abologna@redhat.com>
Tue, 8 Jan 2019 14:24:36 +0000 (15:24 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 8 Jan 2019 16:19:06 +0000 (17:19 +0100)
commit4abd8d01cdd8b0becdb8b37e899b10586d58610f
treeddb6aa95e7f6f6216c1816a7ff9992e4e4f148f3
parent5c7bfc6b535580b7c3615b24f892099ff24713f3
syntax-check: Simplify and fix unmarked_diagnostics

The check was concerning itself with whitespace where it
didn't need to, and used some confusing escaping for one
of its regular expressions - which GNU sed was fine with,
but FreeBSD's sed didn't like one bit.

Switch to extended regular expressions (which, incidentally,
were already in use in the same rule when calling grep) and
remove all whitespace handling.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
cfg.mk