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 string %type pixmap_list cursor_list color_list save_color_list stmt %type win_color_list iconm_list win_list icon_list function menu -%type noarg sarg error narg squeeze +%type noarg sarg error narg squeeze color_entry %type action button number signed_number full fullkey %start twmrc @@ -654,6 +654,7 @@ RemoveDQuote(ptr); $$ = ptr; } + ; number : NUMBER{ $$ = $1; } ; -- ISHIKAWA Mutsumi <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
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 string %type pixmap_list cursor_list color_list save_color_list stmt %type win_color_list iconm_list win_list icon_list function menu -%type noarg sarg error narg squeeze +%type noarg sarg error narg squeeze color_entry %type action button number signed_number full fullkey %start twmrc @@ -654,6 +654,7 @@ RemoveDQuote(ptr); $$ = ptr; } + ; number : NUMBER{ $$ = $1; } ; -- ISHIKAWA Mutsumi <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]