Stewart Gordon wrote: > On 12/11/2010 09:53, Andrei Alexandrescu wrote: > <snip> >> Well put me on board then. Walter, please don't forget to tweak the >> associativity rules: var ~ " literal " ~ " literal " concatenates >> literals first. > > You mean make ~ right-associative? I think this'll break more code than > it fixes. > No because making ~ right-associative would cause the reverse problem: ctc ~ ctc ~ var would not work. What is needed is for ctc ~ ctc ~ var ~ ctc ~ ctc to be processed as ((ctc ~ ctc) ~ var) ~ (ctc ~ ctc).
> ctc = compile-time constant > Jerome -- mailto:jeber...@free.fr http://jeberger.free.fr Jabber: jeber...@jabber.fr
signature.asc
Description: OpenPGP digital signature