]> git.proxmox.com Git - mirror_qemu.git/commit
scripts/clean-header-guards: Fix handling of trailing comments
authorMarkus Armbruster <armbru@redhat.com>
Tue, 4 Jun 2019 18:16:16 +0000 (20:16 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 12 Jun 2019 11:20:20 +0000 (13:20 +0200)
commitc0a9956b32e2806a9d50ce8c651ace140f5f79f1
treec308f7fa8b519be812f6edb61ced1fe17fd1da35
parent0553d895f98d6ffa7354dee324ff7a65fca3367f
scripts/clean-header-guards: Fix handling of trailing comments

clean-header-guards.pl fails to recognize a header guard #endif when
it's followed by a // comment, or multiple comments.  Fix that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190604181618.19980-3-armbru@redhat.com>
scripts/clean-header-guards.pl