aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-03-03 22:15:23 +0000
committerJeff Law <law@redhat.com>1995-03-03 22:15:23 +0000
commit13ffa6becef1f14ef849255b3ad5fadd2cbbb734 (patch)
treec5515f9a913ca75155afd3aacd99f351ad45aed1 /gdb/c-exp.y
parent30e12576376285225b46ae673d41ecb468eadd1d (diff)
downloadgdb-13ffa6becef1f14ef849255b3ad5fadd2cbbb734.zip
gdb-13ffa6becef1f14ef849255b3ad5fadd2cbbb734.tar.gz
gdb-13ffa6becef1f14ef849255b3ad5fadd2cbbb734.tar.bz2
* valops.c (value_struct_elt_for_reference): Work around macro
bugs in HP's compilers. * c-exp.y (block): Likewise.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 77816af..f31dc07 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -548,8 +548,7 @@ block : BLOCKNAME
struct symtab *tem =
lookup_symtab (copy_name ($1.stoken));
if (tem)
- $$ = BLOCKVECTOR_BLOCK
- (BLOCKVECTOR (tem), STATIC_BLOCK);
+ $$ = BLOCKVECTOR_BLOCK (BLOCKVECTOR (tem), STATIC_BLOCK);
else
error ("No file or function \"%s\".",
copy_name ($1.stoken));