Hi

Im trying to write a simple compiler and I'm stuck at the parsing/yacc phase. I keep getting many of these errors and warnings:
  • type clash on default action
  • empty rule for typed nonterminal
  • useless rule


Anyone have any advice on how to tackle these? I attached my lex and yacc output files too incase that helps any.

Thanks