-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
include/lone: split macros into init and literals
I fix one thing and it breaks another. Can't have compound literals in designated initializers, so delete it. Then it breaks other things that were depending on the compound initializer's lvalue nature. Let's just have both. An INIT macro that generates the designated initializer and a normal macro that creates a compound literal. Then macros can build upon each other with the INIT macros while code uses the normal macros whenever possible.
- Loading branch information
1 parent
4a075d2
commit 28b87dd
Showing
3 changed files
with
53 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters