Bug
Found bug when running norminette on file containing the following line:
DEFINE_TYPED_DYNARR(t_intarr, int, intarr)
norminette doesn't hang if the line is followed by a semicolon
Erroneous code
Line 131 in IsFunctionCall doesn't break out of loop if token in None
Version
norminette 3.3.58, Python 3.10.12, Linux-6.12.10-76061203-generic-x86_64-with-
glibc2.35
The macro function DEFINE_TYPED_DYNARR ends with a closing curly brace so it doesn't need to be followed by a semicolon, the code compiles just fine.
I know this code doesn't follow the norm, but norminette should never hang.