Fix 'declaration-after-statement' errors in parser.c
Add -Werror=declaration-after-statement to CFLAGS