Releases: 42school/norminette
3.3.40
Sorry, missed previous update. Version should have been 3.3.40
Lot of bugfixes, be wary. Some codes that used to pass norminette might not pass it anymore.
Missing header is now an error
Removed multiple ways of having 2 or more assignments/declarations on a single line
Clarified rules for attributes
More pointer/operator difference
Comments after #endif for header files
Restrict is properly checked when declaring a var
Newline indent is less complex to follow
3.3.4
Lot of bugfixes, be wary. Some codes that used to pass norminette might not pass it anymore.
- Missing header is now an error
- Removed multiple ways of having 2 or more assignments/declarations on a single line
- Clarified rules for attributes
- More pointer/operator difference
- Comments after #endif for header files
- Restrict is properly checked when declaring a var
- Newline indent is less complex to follow
3.3.32
3.3.31
3.3.3
- Variable name checks again for allowed char when defined (same on function definition only, prevents problem with calling other function/variables)
- Header parsing should work with any header
- work on the attribute for functions
- Indent stuff
- Pointer/mult stuff
- More precise checks on tabs where they shoudlnt be
- Prevent tabs before the value on defines
- Check for newline after preprocs
3.3.2
Headers are being reintroduced. For now it's only a warning that does not trigger the norminette in the moulinette.
Properly checks for ternaries in control structures
Properly handles operator right before a pointer (i = -*j;
)
More pointer/operator inconsistencies fixed
Fixed bug with variable declaration and parenthesis
Fixed variable alignment error with typedef const
Fixed various crashs and infinite loop
- With parenthesis
- With not compilable code
etc..
Please note that the scope of the norminette is not to handle uncompilable code. Theses fixes aren't great.
Norminette should be run on compilable code. We might want to modify the moulinette to first check compilation to make sure these bug don't happen again.
More hotfixes on uncompilable code might come through later.
3.3.1
bugfixes:
- several errors with pointer/mult sign
- several errors for typedef and function pointer
- struct can be named without restrictions if typedef (for DIR structs)
- global environ can be declared without raising error
- moulinette compliance stuff (error log changes)
- can no longer use a combination of tabs and space to mess with the norminette
- escaped char count better toward line length