]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 2 Jun 2004 21:03:25 +0000 (21:03 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 2 Jun 2004 21:03:25 +0000 (21:03 +0000)
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
gdb/dictionary.c
gdb/gdbtypes.h

index 0278b018e5755e93e9bdbf3150ea1144213b33b9..659a2973612988bd7317aad2dd7c95c774c9d550 100644 (file)
@@ -1,3 +1,10 @@
+2004-06-02  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       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  <mec.gnu@mindspring.com>
 
        Fix PR symtab/1661.
index 3802000763710e6f2c26e4924d9b02edf1277619..5c085feaa0e4f9c9fb232b6efc90b9c13d03449d 100644 (file)
@@ -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.  */
index a1141d72e255c2e814894a19d9a1ed8779b2c5aa..c0696ad969e58fd15b97794dbe14cb1d7fa03b16 100644 (file)
@@ -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