(j3.2006) Question about macro concatenation

Aleksandar Donev donev1
Tue Dec 5 16:48:03 EST 2006


Mike wrote:

> ????????A%%B%%=%%1%%3
> would seem to be ok.
Horrid! Should = really be an allowed token in concatenations? Semi-colon? 
What possible good use is there to a concatenated semi-colon?

But, it is good that A%%B=1%%3 is not allowed since "B=1" is not a single 
lexical token, thanks for the clarification.

> If you are asking "is this allowed as a result of token replacement, before
> token concatenation"
It should not make a difference. That is
A%%X%%3
where X is a dummy argument that gets replaced with "B=1", should act the same 
as A%%B=1%%3.

Aleks




More information about the J3 mailing list