Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [RFC] broken build using bison-1.75
@ 2002-11-06 13:38 Johannes Stezenbach
  2002-11-06 13:57 ` Theodore A. Roth
  0 siblings, 1 reply; 6+ messages in thread
From: Johannes Stezenbach @ 2002-11-06 13:38 UTC (permalink / raw)
  To: Michael Snyder, Theodore A. Roth; +Cc: gdb-patches

Hi,

I just fumbled with this two days ago, but did not post to the
list immediately because I'm not subscribed. The fix is similar
to what the binutils people were doing.

/bin/sh ../../gdb+dejagnu-5.3-branch-20021031/gdb/../ylwrap "bison -y" ../../gdb+dejagnu-5.3-branch-20021031/gdb/c-exp.y  y.tab.c c-exp.tmp --  
/home/js/MIPS/toolchain/mips-linux-gdb/gdb/../../gdb+dejagnu-5.3-branch-20021031/gdb/c-exp.y:248.5-251.3: type clash (`voidval' `') on default action
/home/js/MIPS/toolchain/mips-linux-gdb/gdb/../../gdb+dejagnu-5.3-branch-20021031/gdb/c-exp.y:251.5: parse error, unexpected ":", expecting ";" or "|"
make[1]: *** [c-exp.tab.c] Error 1

--- gdb+dejagnu-5.3-branch-20021031/gdb/p-exp.y.orig    2002-11-04 21:15:06.000000000 +0100
+++ gdb+dejagnu-5.3-branch-20021031/gdb/p-exp.y 2002-11-04 21:18:35.000000000 +0100
@@ -233,7 +233,8 @@
 start   :      { current_type = NULL;
                  search_field = 0;
                }
-               normal_start;
+               normal_start {}
+       ;
 
 normal_start   :
                exp1


Regards,
Johannes


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-11-06 22:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-06 13:38 [RFC] broken build using bison-1.75 Johannes Stezenbach
2002-11-06 13:57 ` Theodore A. Roth
2002-11-06 14:05   ` Johannes Stezenbach
2002-11-06 14:31     ` [RFA] (second rev) " Theodore A. Roth
2002-11-06 14:41       ` Michael Snyder
2002-11-06 14:57         ` Theodore A. Roth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox