diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2003-05-18 17:39:45 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2003-05-18 17:39:45 +0000 |
commit | 55baeb84698049b1b03248655dde0ea1c7c9d540 (patch) | |
tree | 796b3216f5afe5f3eb3f34e202a41fe74950ac82 /gdb/c-exp.y | |
parent | b6b08ebfbf3336372abb0ccdff62bb77778393b3 (diff) | |
download | gdb-55baeb84698049b1b03248655dde0ea1c7c9d540.zip gdb-55baeb84698049b1b03248655dde0ea1c7c9d540.tar.gz gdb-55baeb84698049b1b03248655dde0ea1c7c9d540.tar.bz2 |
* c-exp.y (typebase): Remove duplicate occurence of
`SIGNED_KEYWORD LONG LONG'. Use builtin_type_long_long instead
of lookup_signed_typename.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index b8683d7..34f7729 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1,6 +1,6 @@ /* YACC parser for C expressions, for GDB. Copyright 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, - 1998, 1999, 2000 + 1998, 1999, 2000, 2003 Free Software Foundation, Inc. This file is part of GDB. @@ -831,6 +831,8 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */ { $$ = builtin_type_long_long; } | SIGNED_KEYWORD LONG LONG { $$ = builtin_type_long_long; } + | SIGNED_KEYWORD LONG LONG INT_KEYWORD + { $$ = builtin_type_long_long; } | UNSIGNED LONG LONG { $$ = builtin_type_unsigned_long_long; } | UNSIGNED LONG LONG INT_KEYWORD @@ -839,10 +841,6 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */ { $$ = builtin_type_unsigned_long_long; } | LONG LONG UNSIGNED INT_KEYWORD { $$ = builtin_type_unsigned_long_long; } - | SIGNED_KEYWORD LONG LONG - { $$ = lookup_signed_typename ("long long"); } - | SIGNED_KEYWORD LONG LONG INT_KEYWORD - { $$ = lookup_signed_typename ("long long"); } | SHORT INT_KEYWORD { $$ = builtin_type_short; } | SHORT SIGNED_KEYWORD INT_KEYWORD |