From 048a01af27d5436dcdcdf49c83dd56e82fa0b07f Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 12 Dec 2004 21:48:55 +0000 Subject: [PATCH] * f-exp.y (typename): Remove unused nonterminal. (name): Likewise. --- gdb/ChangeLog | 9 +++++++-- gdb/f-exp.y | 13 ------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index caa88bddf3a..39b3d9d4025 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,11 @@ -2004-11-27 Baurjan Ismagulov +2004-12-13 Ben Elliston - Committed by Andrw Cagney. + * f-exp.y (typename): Remove unused nonterminal. + (name): Likewise. + +2004-12-12 Baurjan Ismagulov + + Committed by Andrew Cagney. * abug-rom.c, ada-lang.c, ada-typeprint.c, alpha-tdep.c: i18n markup. diff --git a/gdb/f-exp.y b/gdb/f-exp.y index 5ef65d3bee6..a066c5ac57f 100644 --- a/gdb/f-exp.y +++ b/gdb/f-exp.y @@ -177,9 +177,7 @@ static int parse_number (char *, int, int, YYSTYPE *); %token BOOLEAN_LITERAL %token NAME %token TYPENAME -%type name %type name_not_typename -%type typename /* A NAME_OR_INT is a symbol which is not known in the symbol table, but which would parse as a valid number in the current input radix. @@ -597,9 +595,6 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */ { $$ = builtin_type_f_complex_s32;} ; -typename: TYPENAME - ; - nonempty_typelist : type { $$ = (struct type **) malloc (sizeof (struct type *) * 2); @@ -613,14 +608,6 @@ nonempty_typelist } ; -name : NAME - { $$ = $1.stoken; } - | TYPENAME - { $$ = $1.stoken; } - | NAME_OR_INT - { $$ = $1.stoken; } - ; - name_not_typename : NAME /* These would be useful if name_not_typename was useful, but it is just a fake for "variable", so these cause reduce/reduce conflicts because -- 2.30.2