"Hoehle, Joerg-Cyril" Joerg-Cyril.Hoehle@t-systems.com writes:
(defbitfield name (0 sym1 sym2 ...)
Never thought about it. But who says bitfields will soon say "arbitrary width". Not everything is a single bit.
Yeah, I thought about that so I don't plan to place any restrictions on the mask (so the user can use numbers other than 2^n). Only restriction that might make sense is to check if it's smaller that the canonical type's size.