Re: [sv-bc] 1339: (RESEND)`define behavior on trimming leading and trailing spaces in macros

From: Greg Jaxon <Greg.Jaxon_at_.....>
Date: Mon Nov 19 2007 - 11:38:51 PST
Greg Jaxon wrote:

> You need more from the ANSI C standard - specifically the whole step-by-step
> operational definition approach.

Another argument for converting to a step-by-step description is to ask
whether the terminating whitespace of an escaped identifier is or is not
escaped if it happens to be a newline.

    `define add_two_escaped_ids (  \A[1]
                                 + \A[0] )

Where A[1] has been terminated by a newline, shouldn't this end the macro definition?

This example doesn't work.  But to specify that, we need to give the tokenizing order.



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Nov 19 11:39:22 2007

This archive was generated by hypermail 2.1.8 : Mon Nov 19 2007 - 11:39:48 PST