dawnbeen / c_formatter_42

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

Fix #70 #71

Closed lgrandco closed 1 year ago

lgrandco commented 1 year ago

fixing #70 Ensure proper handling of reserved keywords 'const' and 'static' by avoiding hoisting when they are present at the beginning. Additionally, I've updated the code in this pull request: https://github.com/dawnbeen/c_formatter_42/pull/67 to treat variable declarations without curly brackets as definitions instead of assignments.