There are two errors that show up: main.c:80: warning: ‘main’ is normally a non-static function main.c:88: error: expected declaration or statement at end of input and I cant\
I've edited indentation for you. Do you see now that somewhere in parsing function you've missed one closing bracket?
parsing