YACC: syntax errors

gclind01@starbase.spd.louisville.edu (George C. Lindauer)
16 Jan 1997 20:10:34 -0500

          From comp.compilers

Related articles
YACC: syntax errors gclind01@starbase.spd.louisville.edu (1997-01-16)
Re: YACC: syntax errors snicol@apk.net (1997-01-17)
Re: YACC: syntax errors zeller@fh-heilbronn.de (Henner Zeller) (1997-01-19)
| List of all articles for this month |
From: gclind01@starbase.spd.louisville.edu (George C. Lindauer)
Newsgroups: comp.compilers
Date: 16 Jan 1997 20:10:34 -0500
Organization: University of Louisville.edu
Keywords: yacc, errors, comment

Is there any way of getting detailed error information out of YACC...
so I can get more specific about syntax errors than just putting out
a 'syntax error' message? I've tried using the 'error' keyword
but even using it sparsely comes up with a lot of reduce/reduce conflicts.


David
[Not without hacking the generated parser, which many people have done. -John]
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.