This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Add rules for ObjC files
- From: Klee Dienes <klee at mit dot edu>
- To: Stan Shebs <shebs at apple dot com>
- Cc: Adam Fedor <fedor at doc dot com>, gdb-patches at sources dot redhat dot com
- Date: Fri, 4 Oct 2002 16:20:43 -0400
- Subject: Re: Add rules for ObjC files
I definitely agree there's no need to conditionalize them long-term. I
just mean there's no way that I know of to check them in with an #ifdef
WITH_OBJC for the period where the other changes that they depend on
are still being submitted. The objc-lang.y approach has the advantage
that the file can be submitted, and optionally enabled or disabled in
the Makefile (as I believe Adam was planning to do).
On Friday, October 4, 2002, at 12:48 PM, Stan Shebs wrote:
ObjC is supposed to be a strict superset of C, so at least in theory,
extensions don't need to be conditionalized at all, or they can be
disallowed after parsing, if you wanted to have a "strict C mode"
(although I note that the little array@45 extension is always
available,
even though it's not valid C).