Subject: gtkyahoo patch for bison
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 12/26/2002 13:40:06
--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

Could somebody double-check the attached patch for chat/gtkyahoo?
gtkyahoo, when built with a recent bison, barfs, and the attached patch
should fix that...

Thanks,
-Jan

-- 
"I am so amazingly cool you could keep a side of meat in me for a 
month. I am so hip I have difficulty seeing over my pelvis."

--BOKacYhQ+x31HxR3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-ae

$NetBSD: $

--- rcfile.y.orig	Thu Dec 26 13:23:25 2002
+++ rcfile.y	Thu Dec 26 13:30:11 2002
@@ -253,11 +253,13 @@
 	| config_options idle_time_option
 	| config_options show_notify_messages_option
 	| config_options display_real_names_option
+	;
 
 contact_options: /* empty */
 	| contact_options name_option
 	| contact_options event_option
 	| contact_options email_option
+	;
 
 name_option: NAME QSTRING {
 		DBG_Print("rcfile", "[RC] Got contact name (%s)\n", $2);
@@ -278,17 +280,14 @@
     if ( images.status.away ) 
 	    free(images.status.away);
 	images.status.away = strdup($2); } 
-    ;
     | IMAGE_STATUS_IDLE QSTRING { 	
     if ( images.status.idle ) 
 	    free(images.status.idle);
 	images.status.idle = strdup($2); } 
-    ;
     | IMAGE_STATUS_HERE QSTRING { 	
     if ( images.status.here ) 
 	    free(images.status.here);
 	images.status.here = strdup($2); } 
-    ;
     | IMAGE_STATUS_OFFLINE QSTRING { 	
     if ( images.status.offline ) 
 	    free(images.status.offline);
@@ -327,7 +326,6 @@
 			DBG_Print("rcfile", "[RC] Set proxy host to '%s'\n", $2);
 			proxy_host = strdup($2); }
 		}
-	;
 	| PROXY_PORT INTEGER {
 		if (config_match) {
 			proxy_port = $2;

--BOKacYhQ+x31HxR3--