summaryrefslogtreecommitdiff
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2019-01-11 15:14:33 +0200
committerArnold D. Robbins <arnold@skeeve.com>2019-01-11 15:14:33 +0200
commit663aff4ae012468c54d2e994e839d0e75210ef80 (patch)
treeb65cc16d7e36cab817c5ad64611fdb54c8a3ad1a /interpret.h
parentfeebb01f31e29740b050da1531416c90a12352ca (diff)
downloadgawk-663aff4ae012468c54d2e994e839d0e75210ef80.tar.gz
Squashed merge of feature/namespaces. Add code and doc.
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/interpret.h b/interpret.h
index 1451f683..82329e85 100644
--- a/interpret.h
+++ b/interpret.h
@@ -1114,7 +1114,7 @@ match_re:
ni = setup_frame(pc);
JUMPTO(ni); /* Op_func */
}
- f = lookup(t1->stptr);
+ f = lookup(t1->stptr, true);
}
if (f == NULL) {
@@ -1178,7 +1178,7 @@ match_re:
/* retrieve function definition node */
f = pc->func_body;
if (f == NULL) {
- f = lookup(pc->func_name);
+ f = lookup(pc->func_name, true);
if (f == NULL || (f->type != Node_func && f->type != Node_ext_func))
fatal(_("function `%s' not defined"), pc->func_name);
pc->func_body = f; /* save for next call */