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: String constant concatenation in c-lex.c


On Mon, Jun 25, 2001 at 11:13:38AM -0700, Stan Shebs wrote:
> Zack Weinberg wrote:
> > I'm tempted to push the entire mess off and leave concatenation of
> > @-strings in the parser.  That will mean the syntax of a string
> > literal object is
> > 
> >    '@' STRING+ ('@' STRING+) *
> > 
> > since @ "foo" "bar" "baz" will be converted to @ "foobarbaz" by the
> > lexer.  Can you live with this at least transitionally?
> 
> I've asked internally about some of the issues, and got a mess of
> replies to organize and present.  Perhaps the most important point
> is that @"foo" @"bar" is indeed used in real code, so it will have
> to work sooner or later, but it doesn't need to work this week or
> next.

I'm not planning to break @"foo" @"bar", but I don't think I can do
"foo" @"bar" anytime soon.  That's all.

The entire patch needs some more reworking and I have other things on
my mind, like finding an apartment, so it may be awhile.  For now,
consider it withdrawn.

-- 
zw  I am a believer in free will.  If my dog chooses to hate the whole human
    race except myself, it must be free to do so.
    	-- Diana Wynne Jones, _Castle in the Air_


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