diff options
author | Michael Snyder <msnyder@specifix.com> | 2001-09-27 21:14:48 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2001-09-27 21:14:48 +0000 |
commit | 696ddf9472e4ddea90a884fac387c8cbc21c1cfc (patch) | |
tree | 1abd74d7493db69a8b141fdadf57e7a46cdd23e8 /gdb/c-exp.y | |
parent | a162569b0652c18ecdcdb77a14b388c05067c4db (diff) | |
download | gdb-696ddf9472e4ddea90a884fac387c8cbc21c1cfc.tar.gz |
2001-09-21 Michael Snyder <msnyder@redhat.com>
* c-exp.y (typebase): Accept (signed long long) as a type expr.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 226fb816711..4b7237709bb 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -812,6 +812,10 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */ { $$ = builtin_type_unsigned_long_long; } | UNSIGNED LONG LONG 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; } | UNSIGNED SHORT INT_KEYWORD |