Yacc Question

amber at dartvax.UUCP amber at dartvax.UUCP
Mon Nov 7 14:53:26 AEST 1983


  I realize that trying to get YACC to handle errors gracefully is
difficult, but that sort of thing makes the world go around. So....
  Is there any way to get at the token that YACC dies on, resulting
in the error recovery? The 'error' operator in YACC will scan off
tokens until it recovers and I'd like to get at the first token it
scanned off to see why it died. Any suggestions would be appreciated.
  -David Kovar
  ...decvax!dartvax!amber



More information about the Comp.unix mailing list