From: Albert Chin <gdb-patches@mlists.thewrittenword.com>
To: gdb-patches@sources.redhat.com
Subject: Remove trailing comma after last enum constant
Date: Wed, 02 Jun 2004 20:21:00 -0000 [thread overview]
Message-ID: <20040602202105.GZ32108@mail1.thewrittenword.com> (raw)
The IBM C compiler doesn't like a comma after the last enum constant.
Patch below against 6.1.
--
albert chin (china@thewrittenword.com)
-- snip snip
2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
* gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
after last enum constant to avoid error from IBM C
compiler.
--- gdb/dictionary.c.orig 2004-05-27 00:32:12.512651000 -0500
+++ gdb/dictionary.c 2004-05-27 00:32:17.258512000 -0500
@@ -99,7 +99,7 @@
/* 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. */
--- gdb/gdbtypes.h.orig 2004-05-27 01:52:39.396450000 -0500
+++ gdb/gdbtypes.h 2004-05-27 01:52:54.021469000 -0500
@@ -136,7 +136,7 @@
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
next reply other threads:[~2004-06-02 20:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-02 20:21 Albert Chin [this message]
2004-06-02 20:54 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040602202105.GZ32108@mail1.thewrittenword.com \
--to=gdb-patches@mlists.thewrittenword.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox