htod simple macro translation

Andrej Mitrovic none at none.none
Mon Dec 27 08:07:04 PST 2010


I have a C header with a whole bunch of simple macros like:
#define PM_FILT_FD (1 << 0x0D)

Unfortunately htod won't translate these (I've tried every flag documented). However, I vaguely remember Walter mentioning some kind of technique where one could use DMC to translate these(?). Or maybe I'm imagining things.. :)

Otherwise I'll write a feature request, since these can be pretty common imo.



More information about the Digitalmars-d mailing list