From a7fcd4cce0281f43f38ff7f76de04bf323b28a72 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 2 Jun 2004 21:03:25 +0000 Subject: [PATCH] 2004-06-02 Albert Chin-A-Young Committed by Andrew Cagney. * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma after last enum constant to avoid error from IBM C compiler. --- gdb/ChangeLog | 7 +++++++ gdb/dictionary.c | 2 +- gdb/gdbtypes.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0278b018e57..659a2973612 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2004-06-02 Albert Chin-A-Young + + Committed by Andrew Cagney. + * gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma + after last enum constant to avoid error from IBM C + compiler. + 2004-06-01 Michael Chastain Fix PR symtab/1661. diff --git a/gdb/dictionary.c b/gdb/dictionary.c index 38020007637..5c085feaa0e 100644 --- a/gdb/dictionary.c +++ b/gdb/dictionary.c @@ -99,7 +99,7 @@ enum dict_type /* Symbols are stored in a fixed-size array. */ DICT_LINEAR, /* Symbols are stored in an expandable array. */ - DICT_LINEAR_EXPANDABLE, + DICT_LINEAR_EXPANDABLE }; /* The virtual function table. */ diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index a1141d72e25..c0696ad969e 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -136,7 +136,7 @@ enum type_code TYPE_CODE_TEMPLATE, /* C++ template */ TYPE_CODE_TEMPLATE_ARG, /* C++ template arg */ - TYPE_CODE_NAMESPACE, /* C++ namespace. */ + TYPE_CODE_NAMESPACE /* C++ namespace. */ }; /* For now allow source to use TYPE_CODE_CLASS for C++ classes, as an -- 2.47.2