fix darwin flags, fix syn/compile.c yyerror at eof