aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2014-08-03 14:44:09 -0400
committerArnold D. Robbins <arnold@skeeve.com>2014-08-03 22:14:21 +0300
commit7f35f25a0c8c7f2859b28359d61c3b4c2f608c79 (patch)
treeb7c57af1cb6a8fb3d15dc01740066362b079da25 /awkgram.y
parent8f2f7ef2872a9a95dc1506504b60225ef98944f1 (diff)
downloadegawk-7f35f25a0c8c7f2859b28359d61c3b4c2f608c79.tar.gz
egawk-7f35f25a0c8c7f2859b28359d61c3b4c2f608c79.tar.bz2
egawk-7f35f25a0c8c7f2859b28359d61c3b4c2f608c79.zip
Minor patch to get --profile to work in -M (MPFR) mode.
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.y b/awkgram.y
index 1a199469..53a218a2 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -1944,7 +1944,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;