removes unneeded EOF-rule-body (caused flex to read EOF twice)