summaryrefslogtreecommitdiff
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-06-21 22:20:38 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-06-21 22:20:38 +0300
commit898eb2ad1d514887993994e60fe860ac3ee1bba8 (patch)
tree27eb1633d084f23c0004fadd84fed1496bf495ba /awkgram.c
parentd66f3c9922e36bb2e760e0ac36364c1a5aa11442 (diff)
downloadgawk-898eb2ad1d514887993994e60fe860ac3ee1bba8.tar.gz
Further API code and test code.
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/awkgram.c b/awkgram.c
index ffdf95b7..c8c7a084 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -2368,7 +2368,7 @@ yyreduce:
if (len == 0)
lintwarn_ln((yyvsp[(3) - (3)])->source_line,
_("regexp constant `//' looks like a C++ comment, but is not"));
- else if ((re)[0] == '*' && (re)[len-1] == '*')
+ else if (re[0] == '*' && re[len-1] == '*')
/* possible C comment */
lintwarn_ln((yyvsp[(3) - (3)])->source_line,
_("regexp constant `/%s/' looks like a C comment, but is not"), re);
@@ -7216,7 +7216,7 @@ make_assignable(INSTRUCTION *ip)
/* stopme --- for debugging */
NODE *
-stopme(NODE *tree ATTRIBUTE_UNUSED)
+stopme(int nargs ATTRIBUTE_UNUSED)
{
return make_number(0.0);
}