aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-07-09 19:01:25 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-07-09 19:01:25 +0300
commit528867035383b29a901b6d6f13052abe8071b158 (patch)
treeb46dabddb9ceb2f5a8a9a3e5101d7952ab43d38e /awkgram.y
parent124712be30d752324e51f0e6b8e92c7e1b59bcc7 (diff)
downloadegawk-528867035383b29a901b6d6f13052abe8071b158.tar.gz
egawk-528867035383b29a901b6d6f13052abe8071b158.tar.bz2
egawk-528867035383b29a901b6d6f13052abe8071b158.zip
Fix indirect call tests for MPFR.
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 ec917c3b..f78fe470 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -6476,7 +6476,7 @@ lookup_builtin(const char *name)
return (builtin_func_t) do_sub;
#ifdef HAVE_MPFR
- if (do_mpfr)
+ if (do_mpfr && tokentab[mid].ptr2 != NULL)
return tokentab[mid].ptr2;
#endif