Google

Debugging

Parse Error in Grammer Files

  • Isn't there too many "end" ? grammar of racc file is changed in v0.10.

Parse Error outputed by Generated Parser

  • Does your parser have method "next_token" ?
  • "next_token" returns Array of symbol and its value.
  • When there is no token, "next_token" must returns [false, (ANY)].
  • now "next_value" "peep_token" is not used.
  • Were all terminal tokens listed corectry in ".output" file ? (and also nonterminal?)