|Ignore errors in yacc? quixote@Primenet.Com (1995-05-26)|
|From:||quixote@Primenet.Com (Donald A. Hosek)|
|Keywords:||yacc, question, comment|
|Organization:||Primenet Services for the Internet (602)395-1010|
|Date:||Fri, 26 May 1995 23:59:47 GMT|
Right now, to deal with extraneous tokens in the input stream, I've had to
extend my yacc grammar to accept these and simply print them. What I'd
really like to do is find a way to define yyerror so that it simply passes
the offending token(s) to yyout without further intervention. Any ideas on
how this might be accomplished?
Don Hosek email@example.com
909-621-1291 Coming soon: the Quixote Digital
FAX: 909-625-1342 Typography WWW site.
Quixote Digital Typography
[It's not easy, better to identify and pass the noise through at the lexical
Return to the
Search the comp.compilers archives again.