dawnbeen / c_formatter_42

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

Fix #62 #63

Closed younesaassila closed 1 year ago

younesaassila commented 1 year ago

Fixes #62

Fix variable assignment nesting indent

This is caused by some weird Norminette exception that variable assignments have one additional indent when nesting occurs. Don't ask me the reasoning behind this.....

younesaassila commented 1 year ago

Of course I had to fuck up my own test lmao. Let me get this fixed...

younesaassila commented 1 year ago

Alright it's all good now. Let me know if you'd like the code to be rearranged a bit or if some name isn't clear enough

cacharle commented 1 year ago

LGTM, ping me if you're done and I can merge

younesaassila commented 1 year ago

@cacharle You can merge this one