* f-exp.y (typename): Remove unused nonterminal.
(name): Likewise.
This commit is contained in:
parent
323e0a4a75
commit
048a01af27
2 changed files with 7 additions and 15 deletions
|
@ -1,6 +1,11 @@
|
||||||
2004-11-27 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
|
2004-12-13 Ben Elliston <bje@au.ibm.com>
|
||||||
|
|
||||||
Committed by Andrw Cagney.
|
* f-exp.y (typename): Remove unused nonterminal.
|
||||||
|
(name): Likewise.
|
||||||
|
|
||||||
|
2004-12-12 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
|
||||||
|
|
||||||
|
Committed by Andrew Cagney.
|
||||||
* abug-rom.c, ada-lang.c, ada-typeprint.c, alpha-tdep.c: i18n
|
* abug-rom.c, ada-lang.c, ada-typeprint.c, alpha-tdep.c: i18n
|
||||||
markup.
|
markup.
|
||||||
|
|
||||||
|
|
13
gdb/f-exp.y
13
gdb/f-exp.y
|
@ -177,9 +177,7 @@ static int parse_number (char *, int, int, YYSTYPE *);
|
||||||
%token <lval> BOOLEAN_LITERAL
|
%token <lval> BOOLEAN_LITERAL
|
||||||
%token <ssym> NAME
|
%token <ssym> NAME
|
||||||
%token <tsym> TYPENAME
|
%token <tsym> TYPENAME
|
||||||
%type <sval> name
|
|
||||||
%type <ssym> name_not_typename
|
%type <ssym> name_not_typename
|
||||||
%type <tsym> typename
|
|
||||||
|
|
||||||
/* A NAME_OR_INT is a symbol which is not known in the symbol table,
|
/* 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.
|
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;}
|
{ $$ = builtin_type_f_complex_s32;}
|
||||||
;
|
;
|
||||||
|
|
||||||
typename: TYPENAME
|
|
||||||
;
|
|
||||||
|
|
||||||
nonempty_typelist
|
nonempty_typelist
|
||||||
: type
|
: type
|
||||||
{ $$ = (struct type **) malloc (sizeof (struct type *) * 2);
|
{ $$ = (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
|
name_not_typename : NAME
|
||||||
/* These would be useful if name_not_typename was useful, but it is just
|
/* 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
|
a fake for "variable", so these cause reduce/reduce conflicts because
|
||||||
|
|
Loading…
Reference in a new issue