This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

objc PATCH: Make-lang.in bison args


Hi,
attached is a patch to egcs/gcc/objc/Make-lang.in. The objc-parse.c rule has
bison's arguments in the wrong order. On linux, bison 1.25 says,
bison: extra arguments ignored after 'objc-parse.y'
this patch corrects that. Other bison rules are ok.

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
      You can up the bandwidth, but you can't up the speed of light      
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk
Fri Apr 16 12:34:42 BST 1999  Nathan Sidwell  <nathan@acm.org>

	* Make-lang.in (objc-parse.c): Put BISON parameters in correct
	order.

Index: egcs/gcc/objc/Make-lang.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/objc/Make-lang.in,v
retrieving revision 1.20
diff -c -3 -p -r1.20 Make-lang.in
*** Make-lang.in	1999/03/18 21:59:35	1.20
--- Make-lang.in	1999/04/16 11:33:26
*************** objc-parse.o : $(srcdir)/objc/objc-parse
*** 74,80 ****
  $(INTL_TARGETS): $(srcdir)/objc/objc-parse.c
  $(srcdir)/objc/objc-parse.c : $(srcdir)/objc/objc-parse.y
  	cd $(srcdir)/objc; \
! 	$(BISON) $(BISONFLAGS) objc-parse.y -o objc-parse.c
  
  $(srcdir)/objc/objc-parse.y: $(srcdir)/c-parse.in
  	echo '/*WARNING: This file is automatically generated!*/' >tmp-objc-prs.y
--- 74,80 ----
  $(INTL_TARGETS): $(srcdir)/objc/objc-parse.c
  $(srcdir)/objc/objc-parse.c : $(srcdir)/objc/objc-parse.y
  	cd $(srcdir)/objc; \
! 	$(BISON) $(BISONFLAGS) -o objc-parse.c objc-parse.y
  
  $(srcdir)/objc/objc-parse.y: $(srcdir)/c-parse.in
  	echo '/*WARNING: This file is automatically generated!*/' >tmp-objc-prs.y

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]