On 8/29/19 3:57 AM, Bernhard Reutner-Fischer wrote:
On Wed, 28 Aug 2019 14:42:57 -0400
Nathan Sidwell wrote:
/* If opened with #import or contains #pragma once. */
- bool once_only;
+ bool once_only : 1;
I'm curious why you have them as bool and not unsigned?
because they're true/fa
On Wed, 28 Aug 2019 14:42:57 -0400
Nathan Sidwell wrote:
>/* If opened with #import or contains #pragma once. */
> - bool once_only;
> + bool once_only : 1;
I'm curious why you have them as bool and not unsigned?
thanks,
From the modules branch, here are some cleanups inspired by changes
I've made there.
1) directive handling gets a bool arg, not a 0/1 int
2) documented the enumerators of an enum
3) make a bunch of structure flags 1-bit bools.
applying to trunk.
nathan
--
Nathan Sidwell
2019-08-28 Nathan Sid