It is token concatenation. The following URL gives an explanation.
http://gcc.gnu.org/onlinedocs/gcc-3.2.3/cpp/Concatenation.html


On 3/28/06, Peter Harrison <[EMAIL PROTECTED]> wrote:
Jerome Kerdreux wrote:
>
> Dave Hansen give me a better solution I think,
> here a cut / paste of his anwser
>
> --- begin included file ---
> #define BIT(p,b)                (b)
>
> #define PORT(p,b)               (PORT ## p)
> #define PIN(p,b)                (PIN ## p)
> #define DDR(p,b)                (DDR ## p)
>

What does the ## do?

I have tried searching for an answer but the characters are thrown out
by my desktop and internet search tools

Pete Harrison



_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to