Update of /cvsroot/linux-atm/linux-atm/src/sigd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3458/sigd
Modified Files:
Tag: V2_5_0
cfg_y.y
Log Message:
From: Arvin Schnell <ar...@su...>
Re: [Linux-ATM-General] patch for correct usage of yacc/bison
Index: cfg_y.y
===================================================================
RCS file: /cvsroot/linux-atm/linux-atm/src/sigd/cfg_y.y,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** cfg_y.y 9 Oct 2001 22:33:07 -0000 1.2
--- cfg_y.y 20 Apr 2005 16:40:47 -0000 1.2.2.1
***************
*** 170,174 ****
T2A_SVC | T2A_WILDCARD | T2A_NAME | T2A_LOCAL) < 0) {
yyerror("invalid address");
! return;
}
add_route(curr_sig,&addr,mask ? strtol(mask,NULL,10) : INT_MAX);
--- 170,174 ----
T2A_SVC | T2A_WILDCARD | T2A_NAME | T2A_LOCAL) < 0) {
yyerror("invalid address");
! YYABORT;
}
add_route(curr_sig,&addr,mask ? strtol(mask,NULL,10) : INT_MAX);
|