Solved

yacc-stderr-output

Posted on 1997-12-08
3
218 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
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.

863 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

22 Experts available now in Live!

Get 1:1 Help Now