01-04-2011, 08:13 AM
The previous response gives two preprocessing tokens regardless of order of evaluation of ##Â operators.
A better example would be:
which is defined on a left-to-right evaluation but undefined on right-to-left because .e30 is two preprocessing tokens.
A better example would be:
Code:
#define m(a,b) a##.##b
m(1,e30)
which is defined on a left-to-right evaluation but undefined on right-to-left because .e30 is two preprocessing tokens.
Posted by and on behalf of the MISRA C Working Group