This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: More cpp.texi updates
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: More cpp.texi updates
- From: "Zack Weinberg" <zackw at Stanford dot EDU>
- Date: Sat, 16 Jun 2001 02:16:28 -0700
- Cc: gcc-patches at gcc dot gnu dot org
On Sat, Jun 16, 2001 at 09:28:55AM +0100, Neil Booth wrote:
> Zack,
>
> Following yesterday's discussion, does this look good to you for
> mainline?
Looks good except for two things.
> +Additionally, as an extension, GCC accepts a slight variant that omits
> +the directive name @samp{line}.
Suggest you describe this extension over in the "Output" chapter
instead. "As an extension, linemarkers are accepted in the
preprocessor's input ..." Then you don't have to describe the syntax
twice. The extension will also seem better motivated that way.
> -@item -dM
> +@item -dCHARS
> +@var{CHARS} is a sequence of one or more of the following characters,
> +and must not be preceded by a space. Other characters are reserved for
> +future versions of GCC, and silently ignored. If you specify characters
> +whose behavior conflicts, the result is undefined.
Should also mention here that other letters are meaningful to the
compiler proper.
[This is bound to cause trouble in the future. The original intent
was probably to use lowercase letters for compiler debugging, and
uppercase for the preprocessor, but the compiler's got several RTL
dumps with uppercase letters to trigger them. Including 'M'. Feh.]
--
zw I met a traveller from an antique land
Who said: 'Your name is Ozymandias,
king of kings, and I claim my five pounds!'
-- Del Cotter