You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
$ norminette test.c test.c: OK! $ gcc test.c $ ./a.out 0 1
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.
The text was updated successfully, but these errors were encountered: