From: chas w. <ch...@us...> - 2009-03-03 17:56:23
|
Update of /cvsroot/linux-atm/linux-atm/src/qgen In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv13429/src/qgen Modified Files: ql_y.y Log Message: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/linux-atm/files/linux-atm-2.5.0-bison24.patch?rev=1.1&view=log Fix bison-2.4 errors (#247981). (Portage version: 2.1.6.4/cvs/Linux 2.6.25-gentoo-r6 x86_64) Index: ql_y.y =================================================================== RCS file: /cvsroot/linux-atm/linux-atm/src/qgen/ql_y.y,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ql_y.y 9 Oct 2001 22:33:07 -0000 1.2 --- ql_y.y 3 Mar 2009 17:56:19 -0000 1.3 *************** *** 60,65 **** --- 60,67 ---- if (*start == ':') { if (!(searching = strcmp(start+1,name))) + { if (found) yyerror("multiple entries"); else found = 1; + } continue; } *************** *** 307,313 **** --- 309,317 ---- $$->flush = !$3; if ($$->pos == -1) + { if ($$->size & 7) yyerror("position required for small fields"); else $$->pos = 0; + } $$->value = $5; $$->structure = NULL; *************** *** 431,436 **** | TOK_ID opt_id list block { ! $$ = alloc_t(TAG); ! $$->abort_id = abort_id; } tags --- 435,440 ---- | TOK_ID opt_id list block { ! $<tag>$ = alloc_t(TAG); ! $<tag>$->abort_id = abort_id; } tags *************** *** 474,479 **** | TOK_ID opt_id list rep_block { ! $$ = alloc_t(TAG); ! $$->abort_id = abort_id; } rep_tags --- 478,483 ---- | TOK_ID opt_id list rep_block { ! $<tag>$ = alloc_t(TAG); ! $<tag>$->abort_id = abort_id; } rep_tags |