dawnbeen / c_formatter_42

C language formatter for 42 norminette
GNU General Public License v3.0
176 stars 17 forks source link

static variable initial value break #70

Closed huiman closed 1 year ago

huiman commented 1 year ago

when formatting this static declaration from

static int is_init = 0;

, the output separates the line to be

static int is_init; is_init = 0;

which makes is_init value not static.

huiman commented 1 year ago

@cacharle does this fix merged to master?

cacharle commented 1 year ago

@huiman done now