aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index f93bd5f..38bc7cc 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -1022,7 +1022,7 @@ yylex ()
char *tmp = copy_name (yylval.sval);
struct symbol *sym;
- if (lookup_partial_symtab (tmp))
+ if (lookup_symtab (tmp))
return BLOCKNAME;
sym = lookup_symbol (tmp, expression_context_block, VAR_DOMAIN, 0);
if (sym && SYMBOL_CLASS (sym) == LOC_BLOCK)