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

Andreas Voegele voegelas at users.sourceforge.net
Thu Oct 24 03:48:30 MDT 2002


Hi,

I cannot process the latest server/dia/gram.y with bison 1.75.  The
following patch should fix this problem.

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; }
 		;
 



More information about the Nas mailing list