LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2006, 05:10 AM   #1
ruudmeer
LQ Newbie
 
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
Question bison/fleq question


Hi all,

I am using bison/flex on windows
gnu bison version 1.25
gnu flex version 2.5.4

I made a small parser and I noticed that the define YYFLAG in my generated cpp file is set to 32768. In an example I found I see it is set to -32768. I wonder how I can also set it to -32768!

It seems that a result of having this define set to 32768 is that no additional parser error information is generated. Of course I like this extra parser error data.

Who knows what I should change (in the .l or .y maybe) to get a different value foor YYFLAG?

Ruud
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bison / flex zaman Programming 1 08-16-2005 10:19 AM
Having problems with BISON dogbird Linux - Software 0 05-25-2005 11:17 PM
Installing Bison lectraplayer Linux - Newbie 2 09-25-2003 07:43 PM
need to find bison bicjoe Linux - Newbie 3 07-11-2003 06:35 PM
yacc, Bison Config Linux - General 6 02-21-2002 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration