Describe the bug
In the latest version of the norminette, if you have a line in a comment which is bigger than 80 caracters, norminette will complain about a line too long error (normally this shouldn't be applied to the comments according to the pdf) and it will also say it for the wrong line
Erroneous code
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* test.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: test <test@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/09/07 15:17:06 by test #+# #+# */
/* Updated: 2023/09/08 10:31:48 by test ### ########.fr */
/* */
/* ************************************************************************** */
/*
Lorem
ipsum
dolor
sit
amet,
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent vitae tincidunt viverra.
*/
int main(void)
{
return (0);
}
➜ tmp norminette test.c
test.c: Error!
Error: LINE_TOO_LONG (line: 13, col: 1): line too long
Describe the bug In the latest version of the norminette, if you have a line in a comment which is bigger than 80 caracters, norminette will complain about a line too long error (normally this shouldn't be applied to the comments according to the pdf) and it will also say it for the wrong line Erroneous code
Additional infos