Closed
Description
I did this
Run checksrc.pl on this code:
MarcelRaad@7de0894
I expected the following
Nothing to complain about. Instead, I got a BRACEPOS warning.
It excludes an opening brace if the line directly above it is a preprocessor directive starting with #
. It should probably also exclude an opening brace if every line starting with the second one above ends with a \
until one starts with a #
? I don't know how to nicely express that in perl though...
curl/libcurl version
N/A, checksrc.pl @ 2f0bb86
operating system
Ubuntu