aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-03 22:11:36 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-03 22:11:36 +0300
commit60c3f44d133e8a964911b5d7fb5d4e8472dbae3e (patch)
tree9c68db2c53f3eb6f3be918a0af4cd2a3f5254006 /awkgram.c
parent4bfa1b9c2e5ef3bb08eb107bd9aca7a8748ce209 (diff)
parentff21da5c7f072a69e9582f1a7ae2039f27f564cf (diff)
downloadegawk-60c3f44d133e8a964911b5d7fb5d4e8472dbae3e.tar.gz
egawk-60c3f44d133e8a964911b5d7fb5d4e8472dbae3e.tar.bz2
egawk-60c3f44d133e8a964911b5d7fb5d4e8472dbae3e.zip
Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/gawk
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.c b/awkgram.c
index 28776494..1c5e952d 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -4284,7 +4284,7 @@ getfname(NODE *(*fptr)(int))
j = sizeof(tokentab) / sizeof(tokentab[0]);
/* linear search, no other way to do it */
for (i = 0; i < j; i++)
- if (tokentab[i].ptr == fptr)
+ if (tokentab[i].ptr == fptr || tokentab[i].ptr2 == fptr)
return tokentab[i].operator;
return NULL;