Browse code

- updated to bison 1.75 syntax (POSIX compatible)

Andrei Pelinescu-Onciul authored on 04/12/2002 13:03:42
Showing 1 changed files
... ...
@@ -151,9 +151,9 @@ struct id_list* lst_tmp;
151 151
 
152 152
 
153 153
 /*non-terminals */
154
-%type <expr> exp, exp_elem /*, condition*/
155
-%type <action> action, actions, cmd, if_cmd, stm
156
-%type <ipaddr> ipv4, ipv6, ip
154
+%type <expr> exp exp_elem /*, condition*/
155
+%type <action> action actions cmd if_cmd stm
156
+%type <ipaddr> ipv4 ipv6 ip
157 157
 %type <ipnet> ipnet
158 158
 %type <strval> host
159 159
 %type <strval> listen_id
... ...
@@ -582,7 +582,7 @@ host:	ID				{ $$=$1; }
582 582
 						  	$$[strlen($1)+1+strlen($3)]=0;
583 583
 						  }
584 584
 						  free($1); free($3);
585
-						};
585
+						}
586 586
 	| host DOT error { $$=0; free($1); yyerror("invalid hostname"); }
587 587
 	;
588 588