Actually, norminette says the first line is over 80 chars, but it's wrong. With 2869b275c8db45682fc182eb34729834d6995680 fix, now it says correctly that is the second line over 80 chars. Related to #309 and #433
When norminette parses a comment like /*\*/ it will understand it as /*\**/, note that it "duplicates" the *, in #439 the * is a (space). Btw, this is fixed by 85ce8726a14fb34345a7860021c06a2ed333f477.
Notes
This PR can conflits with #454 when occurs a merged
I changed the comments to hold four spaces instead of one tab to be easy calculate the line width
Fixes #309, #439, #433.
Bugs that this PR solves
Wrong line reported when shows a
LINE_TOO_LONG
, reproduceable code:Actually, norminette says the first line is over 80 chars, but it's wrong. With 2869b275c8db45682fc182eb34729834d6995680 fix, now it says correctly that is the second line over 80 chars. Related to #309 and #433
When norminette parses a comment like
(space). Btw, this is fixed by 85ce8726a14fb34345a7860021c06a2ed333f477.
/*\*/
it will understand it as/*\**/
, note that it "duplicates" the*
, in #439 the*
is aNotes