reorder yacc/lex rules