summaryrefslogtreecommitdiff
path: root/gdb/ada-exp.y
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-03-06 00:56:43 +0000
committerDavid Carlton <carlton@bactrian.org>2003-03-06 00:56:43 +0000
commit7e08d3087ba5fdeb658bcd13d333082efce78257 (patch)
tree4301ea268ab39b53f7243453399615ac9cc0fdb4 /gdb/ada-exp.y
parent0c40460023b3ee8a5b9b37f5bedd604f482f4963 (diff)
downloadgdb-7e08d3087ba5fdeb658bcd13d333082efce78257.tar.gz
2003-03-05 David Carlton <carlton@math.stanford.edu>
* Merge with mainline. Tag is carlton_dictionary-20030305-merge.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r--gdb/ada-exp.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 45d09a99a91..d17e0c83aae 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1,5 +1,5 @@
/* YACC parser for Ada expressions, for GDB.
- Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 1997, 2000
+ Copyright (C) 1986, 1989, 1990, 1991, 1993, 1994, 1997, 2000, 2003
Free Software Foundation, Inc.
This file is part of GDB.
@@ -42,7 +42,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <ctype.h>
#include "expression.h"
#include "value.h"
-#include "block.h"
#include "parser-defs.h"
#include "language.h"
#include "ada-lang.h"
@@ -50,6 +49,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "symfile.h" /* Required by objfiles.h. */
#include "objfiles.h" /* For have_full_symbols and have_partial_symbols */
#include "frame.h"
+#include "block.h"
/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
as well as gratuitiously global symbol names, so we can have multiple
@@ -803,7 +803,7 @@ write_object_renaming (orig_left_context, renaming)
struct block* orig_left_context;
struct symbol* renaming;
{
- const char* qualification = SYMBOL_NAME (renaming);
+ const char* qualification = DEPRECATED_SYMBOL_NAME (renaming);
const char* simple_tail;
const char* expr = TYPE_FIELD_NAME (SYMBOL_TYPE (renaming), 0);
const char* suffix;
@@ -946,7 +946,7 @@ write_object_renaming (orig_left_context, renaming)
BadEncoding:
error ("Internal error in encoding of renaming declaration: %s",
- SYMBOL_NAME (renaming));
+ DEPRECATED_SYMBOL_NAME (renaming));
}
/* Convert the character literal whose ASCII value would be VAL to the