diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-12 14:11:26 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-12 14:11:26 +0000 |
commit | caf640e2b8340bc381957cfef80a15aa1181e0a0 (patch) | |
tree | 236764a10a3b604bdf516d1a42b234cff7a524a2 /x2p | |
parent | ae55e07e1b8d281958536d5ad41562c4888876f0 (diff) | |
download | perl-caf640e2b8340bc381957cfef80a15aa1181e0a0.tar.gz |
One less -Wall whine (found under DEBUGGING).
p4raw-id: //depot/perl@10537
Diffstat (limited to 'x2p')
-rwxr-xr-x | x2p/Makefile.SH | 1 | ||||
-rw-r--r-- | x2p/a2p.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/x2p/Makefile.SH b/x2p/Makefile.SH index 5db022fd37..3b42c21948 100755 --- a/x2p/Makefile.SH +++ b/x2p/Makefile.SH @@ -119,6 +119,7 @@ run_byacc: FORCE check_byacc $(BYACC) a2p.y rm -f a2p.c sed -e 's/(yyn = yydefred\[yystate\])/((yyn = yydefred[yystate]))/' \ + -e 's/(yys = getenv("YYDEBUG"))/((yys = getenv("YYDEBUG")))/' \ -e 's/^yyerrlab://' \ -e 's/^ goto yyerrlab;//' \ -e 's/^yynewerror://' \ @@ -2089,7 +2089,7 @@ yyparse() register char *yys; extern char *getenv(); - if (yys = getenv("YYDEBUG")) + if ((yys = getenv("YYDEBUG"))) { yyn = *yys; if (yyn >= '0' && yyn <= '9') |