aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-09-03 02:45:56 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-09-03 02:45:56 +0000
commit06891d83421e10e9d29301527a4ff5297d8744a3 (patch)
treef477beb77e4c9fa069c5b662de5546327762871d /gdb/c-exp.y
parentb8bb248ad6ccd0a64237c66f8fa9022aea26c0ed (diff)
downloadgdb-06891d83421e10e9d29301527a4ff5297d8744a3.zip
gdb-06891d83421e10e9d29301527a4ff5297d8744a3.tar.gz
gdb-06891d83421e10e9d29301527a4ff5297d8744a3.tar.bz2
* ada-exp.y (yyname, yyrule): Remap global variables that appear
when YYDEBUG is set to 1. * c-exp.y: Likewise. * f-exp.y: Likewise. * jv-exp.y: Likewise. * m2-exp.y: Likewise. * p-exp.y: Likewise.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index ea50836..c6fc52c 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -89,6 +89,8 @@ extern int hp_som_som_object_present;
#define yylloc c_lloc
#define yyreds c_reds /* With YYDEBUG defined */
#define yytoks c_toks /* With YYDEBUG defined */
+#define yyname c_name /* With YYDEBUG defined */
+#define yyrule c_rule /* With YYDEBUG defined */
#define yylhs c_yylhs
#define yylen c_yylen
#define yydefred c_yydefred