ronanboiteau / NormEZ

Coding-style checker for Epitech students. This program analyzes your C source files for Epitech coding-style violations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to detect missplaced curly bracket

Nafiros opened this issue · comments

Actually missplaced curly brackets are not detected.
According to the L4 rule :

"Opening curly brackets should be at the end of their line, except for functions where they must be placed alone on their line."

in this test case :

int main(void) {
----if (1)
----{
--------return (1);
----}
----return (0);
}

missplaced curly bracket are not detected for the function AND the if statement.

Cheers,