[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#164486: [PATCH] twm/gram.y can not compile with bison 1.50



Package: xfree86
Version: 4.2.1-2
Tags: patch

 Current xc/programs/twm/gram.y can not compile with bison 1.50
because of syntax error.

bison -y -d gram.y
gram.y:451.3-461.18: type clash (`' `num') on default action
gram.y:657.9: parse error, unexpected ":", expecting ";" or "|"
make: *** [gram.c] Error 1


Index: xc/programs/twm/gram.y
===================================================================
RCS file: /cvs/xc/programs/twm/gram.y,v
retrieving revision 3.6
diff -u -a -r3.6 gram.y
--- xc/programs/twm/gram.y	2001/12/14 20:01:07	3.6
+++ xc/programs/twm/gram.y	2002/10/12 17:09:54
@@ -124,7 +124,7 @@
 %type <ptr> string
 %type <num> pixmap_list cursor_list color_list save_color_list stmt
 %type <num> win_color_list iconm_list win_list icon_list function menu
-%type <num> noarg sarg error narg squeeze
+%type <num> noarg sarg error narg squeeze color_entry
 %type <num> action button number signed_number full fullkey
 
 %start twmrc 
@@ -654,6 +654,7 @@
 					  RemoveDQuote(ptr);
 					  $$ = ptr;
 					}
+		;
 number		: NUMBER		{ $$ = $1; }
 		;
 

-- 
ISHIKAWA Mutsumi
 <ishikawa@linux.or.jp>, <ishikawa@debian.org>, <ishikawa@netvillage.co.jp>




Reply to: