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

Bug#164491: [PATCH] build problem xkbevd with bison 1.50



Package: xfree86
Version: 4.2.1-2
Tags: patch

 Build xc/programs/xkbevd/cfgparse.y fail with bison 1.50

bison -y  cfgparse.y
cfgparse.y:175.3-177.11: type clash (`ival' `') on default action
cfgparse.y:177.13: parse error, unexpected ":", expecting ";" or "|"
cfgparse.y:177.24-31: $1 of `ActionType' has no declared type
make: *** [cfgparse.c] Error 1

 A semicolon is missing.

--- xc/programs/xkbevd/cfgparse.y~	2001-01-18 08:46:07.000000000 +0900
+++ xc/programs/xkbevd/cfgparse.y	2002-10-13 03:32:02.000000000 +0900
@@ -173,6 +173,7 @@
 		|	SHELL	 { $$ = ShellAction; }
 		|	SOUND	 { $$ = SoundAction; }
 		|		 { $$ = UnknownAction; }
+		;
 
 OptNameSpec	:	NameSpec { $$= $1; }
 		|		 { $$= NULL; }

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




Reply to: