This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
byacc - Exception trapped
- To: gnu-win32 at cygnus dot com
- Subject: byacc - Exception trapped
- From: "Earnie Boyd" <earnie_boyd at hotmail dot com>
- Date: Thu, 02 Oct 1997 10:08:36 PDT
This should be simple:
I wanted to learn lex & yacc. So I bought the O'Reilly & Associates
book. I begin compiling and linking the examples. Things are looking
good and working fine; until, I get to the yacc section in chapter 1.
I have the lex examples coded from Example 1.6 and the yacc examples
coded from Example 1.7 and 1.8. I then do:
flex ch1-05.flex
byacc ch1-05.byacc
gcc -c lex.yy.c y.tab.c
gcc -o ch1-05 lex.yy.o y.tab.o -lfl
Now here is where the problem starts:
I execute ch1-05 and get the attached dump. 8^(
I've also attached the flex and byacc source files.
Does anyone have a solution?
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
ch1_05_error
ch1_05_byacc
ch1_05_flex