[nas] Problems with server/dia/gram.y

Jon Trulson jon at radscan.com
Thu Oct 24 15:15:02 MDT 2002


On 24 Oct 2002, Andreas Voegele wrote:

> Date: 24 Oct 2002 11:48:30 +0200
> From: Andreas Voegele <voegelas at users.sourceforge.net>
> To: nas at radscan.com
> Subject: [nas] Problems with server/dia/gram.y
> 
> Hi,
> 
> I cannot process the latest server/dia/gram.y with bison 1.75.  The
> following patch should fix this problem.
> 

	Oops.  You know, I think I should just send 'fake' release
announcements a day before actual release so that these things actually
get found before it's released ;-)  Ok - I'll add it for a 1.6a.  Thanks.

	Seems odd that those ';' are required though.

> diff -r -u nas-1.6.orig/server/dia/gram.y nas-1.6/server/dia/gram.y
> --- nas-1.6.orig/server/dia/gram.y	2002-07-10 04:28:41.000000000 +0200
> +++ nas-1.6/server/dia/gram.y	2002-10-24 11:34:08.000000000 +0200
> @@ -141,12 +141,14 @@
>  			{ ddaSetConfig(MINRATE, (void *)$2); }
>  		| GAIN number
>  			{ ddaSetConfig(GAIN, (void *)$2); }
> +		;
>  
>  string		: STRING		{ ptr = (char *)malloc(strlen($1)+1);
>  					  strcpy(ptr, $1);
>  					  RemoveDQuote(ptr);
>  					  $$ = ptr;
>  					}
> +		;
>  number		: NUMBER		{ $$ = $1; }
>  		;
>  
> 

-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
Bad Color Temperature, Too much Peach.




More information about the Nas mailing list