Solved

yacc-stderr-output

Posted on 1997-12-08
3
223 Views
Last Modified: 2013-12-26
How can I make yacc not to print these "syntax error" stderr-output?
0
Comment
Question by:bodirsky
  • 2
3 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 1295754
Define your own yyerror. Also look for the macros YYERROR, YYACCEPT, and the variables (defines) yyerrok, yyerrflag.
0
 

Author Comment

by:bodirsky
ID: 1295755
You're earning quite much points with my attempt learning yacc...

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 1295756
Fiddled around long time with lex/yacc before I switched to flex/bison. There are too much question in traditional lex/yacc and just answers (man-pages) in flex/bison ;)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question