OK, I'm stumped on this one: dstep, struct, mixin, bitfields
Jacob Carlborg
doob at me.com
Thu Mar 22 15:41:14 UTC 2018
On Thursday, 22 March 2018 at 09:55:44 UTC, Russel Winder wrote:
> I am guessing you mean against DStep rather than D :-)
Yes :)
> Though clearly T and I would prefer version not to be a D
> keyword.
>
> I suspect I have seen one place where DStep has turned version
> into version_ where version was a variable name. In this case
> "version" was a string used to create a bitfield using a
> mixin(bitfield!(…)) construct. Is that likely easy to fix?
Yes. It's not a string literal in the C code. The identifier
should be renamed before it's added to the call to "bitfield".
--
/Jacob Carlborg
More information about the Digitalmars-d-learn
mailing list