(j3.2006) Question about macro concatenation
Aleksandar Donev
donev1
Tue Dec 5 17:27:09 EST 2006
On Tuesday 05 December 2006 13:24, you wrote:
> I think the
> answer is no, because ?
> ????????B=1
> is not a lexical token (it is 3 lexical tokens) and therefore cannot
> sit by itself between two concatenation operators.
On second thought, parsing the bnf would seem to get from
A%%B=1%%3
result-token-1 result-token-2 result-token-3
where the second result-token is the equals. And then it is fine, it produces:
AB=13
The concatentation A%%X%%3 would also seem to work the same way when X gets
replaced with "B=1". I repeat: Horrid!
Aleks
More information about the J3
mailing list