delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/24/08:15:25

From: deleveld AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Bison and particular expressions.
Date: Thu, 24 Jun 1999 11:30:48 GMT
Organization: Deja.com - Share what you know. Learn what you don't.
Lines: 19
Message-ID: <7kt4t8$3bq$1@nnrp1.deja.com>
References: <37711A9A DOT 4D73B486 AT americasm01 DOT nt DOT com>
NNTP-Posting-Host: 192.87.23.66
X-Article-Creation-Date: Thu Jun 24 11:30:48 1999 GMT
X-Http-User-Agent: Mozilla/3.0 (Win95; I; 16bit)
X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 192.87.23.66
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi Rolf,

I've had some similar problems as what you have described and
I found that there was always a problem with the grammer, even
if I initially didn't think there was a problem.

What I found very helpful is to run Bison with the -v option
and look at the parser states written in the .out file, and look
for shift/reduce and reduce/reduce conflicts which (i think)
is the basis of your problems.

If you can't figure out how to read the .out file, post it or
send it to me and and I'll have a shot...

Doug Eleveld


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019