Solved

yacc-stderr-output

Posted on 1997-12-08
3
217 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
Comment Utility
Define your own yyerror. Also look for the macros YYERROR, YYACCEPT, and the variables (defines) yyerrok, yyerrflag.
0
 

Author Comment

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

0
 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now