fixed errors in dispatch case, resolved remaining shift/reduce conflicts, need to do testing, add line_no and error handling