diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-11 15:14:33 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-11 15:14:33 +0200 |
commit | 663aff4ae012468c54d2e994e839d0e75210ef80 (patch) | |
tree | b65cc16d7e36cab817c5ad64611fdb54c8a3ad1a /interpret.h | |
parent | feebb01f31e29740b050da1531416c90a12352ca (diff) | |
download | gawk-663aff4ae012468c54d2e994e839d0e75210ef80.tar.gz |
Squashed merge of feature/namespaces. Add code and doc.
Diffstat (limited to 'interpret.h')
-rw-r--r-- | interpret.h | 4 |
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 */ |