This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[basic-improvements] N-way choice syntax in specs
- From: Jonathan Lennox <lennox at cs dot columbia dot edu>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 24 Sep 2002 16:49:55 -0400
- Subject: [basic-improvements] N-way choice syntax in specs
- References: <20020924195914.GG5021@codesourcery.com>
Zack Weinberg writes:
> ! %{S:X; if S was given to CC, substitutes X;
> ! T:Y; else if Y was given to CC, substitutes Y;
> ! :D} else substitutes D. There can be as many clauses as you need.
The second line should presumably read "else if T was given to CC"?
--
Jonathan Lennox
lennox@cs.columbia.edu