Skip to content

checksrc.pl: BRACEPOS false positive #7863

Closed
@MarcelRaad

Description

@MarcelRaad

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions