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: Some syntactic sugar for machine descriptions


On Tue, Jun 26, 2001 at 12:22:34PM -0700, Zack Weinberg wrote:
> 1: If the RTL reader does not recognize a backslash escape in a string
> constant, it passes it on to the output unmolested.

Nice.

> 2: Wherever a double-quoted string is acceptable, a brace block is
> also acceptable.

Excellent.

> 3: If a string begins with an asterisk, that asterisk may appear
> outside the string delimiters.

Hum.  It'd be Really Nice to assume this asterisk and not have to
write it explicitly.

Perhaps that means that the reader always inserts it, and genoutput
notices and adjust accordingly for define_expand and define_split etc.
Perhaps we define format letter "T" to mean "add an asterisk if the
source used a braced string".

Thoughts?



r~


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