The stack from this isn't very useful because it comes from deep inside the parser that jison generates. The error message tells you the line number, expected token, and token that it got which is what you need along with the filename to fix the error.