diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-25 11:47:18 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-01-25 11:47:18 +0200 |
commit | eceb548b02f0d72ca6a6e9a68bfd615ac9549a64 (patch) | |
tree | 10d127076e7f850560095dd386c9f28b2c4811aa /interpret.h | |
parent | 378de9aa9e73d44d0172947c38be67c0bd78a0b0 (diff) | |
download | egawk-eceb548b02f0d72ca6a6e9a68bfd615ac9549a64.tar.gz egawk-eceb548b02f0d72ca6a6e9a68bfd615ac9549a64.tar.bz2 egawk-eceb548b02f0d72ca6a6e9a68bfd615ac9549a64.zip |
Rework namespace handling to make simpler and correct. Add two test cases.
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 e9896672..720b583a 100644 --- a/interpret.h +++ b/interpret.h @@ -1108,7 +1108,7 @@ match_re: ni = setup_frame(pc); JUMPTO(ni); /* Op_func */ } - f = lookup(t1->stptr, true); + f = lookup(t1->stptr); } if (f == NULL) { @@ -1172,7 +1172,7 @@ match_re: /* retrieve function definition node */ f = pc->func_body; if (f == NULL) { - f = lookup(pc->func_name, true); + f = lookup(pc->func_name); 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 */ |