mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
* ch-exp.c (parse_named_record_element): Avoid aggregrate
initializations for automatic variables. * hppa-tdep.c (hppa_alignof): Fix typo in last change. Fixes minor build problems.
This commit is contained in:
parent
dee7a11cd2
commit
f9384420ae
@ -1,3 +1,10 @@
|
|||||||
|
Sun Dec 3 11:59:21 1995 Jeffrey A. Law <law@cygnus.com>
|
||||||
|
|
||||||
|
* ch-exp.c (parse_named_record_element): Avoid aggregrate
|
||||||
|
initializations for automatic variables.
|
||||||
|
|
||||||
|
* hppa-tdep.c (hppa_alignof): Fix typo in last change.
|
||||||
|
|
||||||
Sat Dec 2 19:32:57 1995 Fred Fish <fnf@cygnus.com>
|
Sat Dec 2 19:32:57 1995 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
* symfile.c (global_psymbols, static_psymbols): Remove, unused.
|
* symfile.c (global_psymbols, static_psymbols): Remove, unused.
|
||||||
|
@ -488,7 +488,9 @@ parse_call ()
|
|||||||
static void
|
static void
|
||||||
parse_named_record_element ()
|
parse_named_record_element ()
|
||||||
{
|
{
|
||||||
struct stoken label = PEEK_LVAL ().sval;
|
struct stoken label;
|
||||||
|
|
||||||
|
label = PEEK_LVAL ().sval;
|
||||||
expect (FIELD_NAME, "expected a field name here `%s'", lexptr);
|
expect (FIELD_NAME, "expected a field name here `%s'", lexptr);
|
||||||
if (check_token (','))
|
if (check_token (','))
|
||||||
parse_named_record_element ();
|
parse_named_record_element ();
|
||||||
|
@ -1733,7 +1733,7 @@ hppa_alignof (type)
|
|||||||
struct type *type;
|
struct type *type;
|
||||||
{
|
{
|
||||||
int max_align, align, i;
|
int max_align, align, i;
|
||||||
CHECK_TYPEDEf (type);
|
CHECK_TYPEDEF (type);
|
||||||
switch (TYPE_CODE (type))
|
switch (TYPE_CODE (type))
|
||||||
{
|
{
|
||||||
case TYPE_CODE_PTR:
|
case TYPE_CODE_PTR:
|
||||||
|
Loading…
Reference in New Issue
Block a user