Describe the bug
Using a \ followed by a newline in the comment delimiter prevents the norminette from recognizing the end of the comment. Consequently, the norminette interprets the entire file as commented out.
Erroneous code
/* *\
/
#include <stdio.h>
int main() {
for (int i=0; i<2;++i)
printf("%d\n", i);
}
/**/
Describe the bug Using a
\
followed by anewline
in the comment delimiter prevents thenorminette
from recognizing the end of the comment. Consequently, thenorminette
interprets the entire file as commented out.Erroneous code
Additional infos
Additional context You could also use a trigraph, making the issue harder to detect.
Also, since the norminette never sees anything other than a comment, it does not check if the header is valid.