Racc Parser help

I am building my first simple parser but am running into a problem. I have a racc scanner that is working and outputs a tokens array of arrays of token type and name. For example: [[:UNIT, 'one'], [:TEN, 'twenty']].

The parser generates an error-free file, but when I run it with the above tokens, I get “parse error on value “one” (UNIT)”. If I run it with only the second token, I get " parse error on value “twenty” (error)". It is not reporting the correct type, possibly because the generated code’s racc_token_table is missing an entry for :TEN.

I do not know why it does not have an entry for :TEN or how to debug what is causing the parse error. Any help will be greatly appreciated. I did not include the parser file but can if it will help.