This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: More cpp.texi updates


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]