42School / norminette

Official 42 norminette
MIT License
956 stars 140 forks source link

Curly Brackets of Enum Definitions #426

Closed yumamur closed 11 months ago

yumamur commented 1 year ago
            \item You need to start a new line after each curly bracket
             or end of control structure.

Erroneous code

enum e_qwe { QWE = 1, ASD = 2, ZXC = 3 };
           \item Braces following functions, declarators or control structures must be preceded and followed by a newline.

Erroneous Code

struct s_struct {
int a;
};