X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=x2p%2Fa2p.c;h=e79e1562034ff82a1df6d2388a3d55be286bfcda;hb=5d5aaa5e70a8a8ab4803cdb506e2096b6e190e80;hp=22b75a07340dcd88ad3383c03d5c46e6f2e30d33;hpb=c822f08a5087943f7d9e2c36ce42ea035f03ab97;p=p5sagit%2Fp5-mst-13.2.git diff --git a/x2p/a2p.c b/x2p/a2p.c index 22b75a0..e79e156 100644 --- a/x2p/a2p.c +++ b/x2p/a2p.c @@ -5,7 +5,7 @@ static char yysccsid[] = "@(#)yaccpar 1.8 (Berkeley) 01/20/91"; #line 2 "a2p.y" /* $RCSfile: a2p.y,v $$Revision: 4.1 $$Date: 92/08/07 18:29:12 $ * - * Copyright (c) 1991, Larry Wall + * Copyright (c) 1991-1997, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -2000,8 +2000,11 @@ short yyss[YYSTACKSIZE]; YYSTYPE yyvs[YYSTACKSIZE]; #define yystacksize YYSTACKSIZE #line 396 "a2p.y" + +int yyparse _((void)); + #include "a2py.c" -#line 2005 "y.tab.c" +#line 2008 "y.tab.c" #define YYABORT goto yyabort #define YYACCEPT goto yyaccept #define YYERROR goto yyerrlab @@ -2011,7 +2014,9 @@ yyparse() register int yym, yyn, yystate; #if YYDEBUG register char *yys; +#ifndef __cplusplus extern char *getenv(); +#endif if (yys = getenv("YYDEBUG")) { @@ -2667,7 +2672,7 @@ case 137: #line 392 "a2p.y" { yyval = oper3(OBLOCK,oper2(OJUNK,yyvsp[-3],yyvsp[-2]),Nullop,yyvsp[0]); } break; -#line 2671 "y.tab.c" +#line 2674 "y.tab.c" } yyssp -= yym; yystate = *yyssp;