From eceb548b02f0d72ca6a6e9a68bfd615ac9549a64 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 25 Jan 2019 11:47:18 +0200 Subject: Rework namespace handling to make simpler and correct. Add two test cases. --- debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debug.c') diff --git a/debug.c b/debug.c index 05083a48..13ae1b76 100644 --- a/debug.c +++ b/debug.c @@ -1032,7 +1032,7 @@ NODE *find_symbol(const char *name, char **pname) if (prog_running) r = find_param(name, cur_frame, pname); if (r == NULL) - r = lookup(name, false); // for now, require fully qualified name + r = lookup(name); // for now, require fully qualified name if (r == NULL) fprintf(out_fp, _("no symbol `%s' in current context\n"), name); return r; @@ -5608,7 +5608,7 @@ do_eval(CMDARG *arg, int cmd ATTRIBUTE_UNUSED) return false; } - f = lookup("@eval", false); + f = lookup("@eval"); assert(f != NULL); if (this_func == NULL) { /* in main */ /* do a function call */ -- cgit v1.2.3