Skip to content

add missing #line directive to misra.py - #8879

Open
driftregion wants to merge 1 commit into
cppcheck-opensource:mainfrom
driftregion:misra_line
Open

driftregion wants to merge 1 commit into
cppcheck-opensource:mainfrom
driftregion:misra_line

Conversation

@driftregion

Copy link
Copy Markdown

Hello cppcheck maintainer. Thank you for your work.

The #line preprocessor directive (standard since C90) was missing from misra.py, leading to false positives in my analysis. I have added it here.

See:
https://en.cppreference.com/c/preprocessor/line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant