OSDN Git Service

tags: Treat header files as C code
authorMichal Marek <mmarek@suse.com>
Wed, 14 Oct 2015 07:45:52 +0000 (09:45 +0200)
committerMichal Marek <mmarek@suse.com>
Tue, 5 Jan 2016 21:10:29 +0000 (22:10 +0100)
commitd2fb5aeda926307e4d95e3e824146aee9943de59
tree024300ab859297ae6d2adc1ff180a2141a1e4342
parent4b63f603135022ca048524cd16f1c6a76a3f169d
tags: Treat header files as C code

This allows to apply the same patters to both source and header files.
The effect is mostly visible in the case of DECLARE_BITMAP, but there
are small gains all over the place. There is also lots of random changes
in the diff, I believe this is simply because there are still lots of
unexpanded macros in the code and the C and C++ parsers fail and recover
at different points. Also, qconf.h is parsed as C, but that's a
negligible regression.

Signed-off-by: Michal Marek <mmarek@suse.com>
scripts/tags.sh