Skip to content

transpile: Split off new macros module#1647

Merged
kkysen merged 2 commits intoimmunant:masterfrom
Rua:macros-module
Mar 31, 2026
Merged

transpile: Split off new macros module#1647
kkysen merged 2 commits intoimmunant:masterfrom
Rua:macros-module

Conversation

@Rua
Copy link
Copy Markdown
Contributor

@Rua Rua commented Mar 7, 2026

No functional changes, just moving more stuff to dedicated modules.

@Rua Rua force-pushed the macros-module branch 2 times, most recently from 7f8634e to 46ba60f Compare March 26, 2026 19:53
@kkysen kkysen self-requested a review March 31, 2026 03:56
@kkysen kkysen merged commit 6c9d52b into immunant:master Mar 31, 2026
11 checks passed
kkysen added a commit that referenced this pull request Mar 31, 2026
…#1693)

- Depends on #1647.
- Fixes #190.

Makes things look a little nicer. I've tried to be conservative here and
only consider literal `0` and `1` this way. No other literals, and no
macros either.

Unfortunately that includes the `false` and `true` macros found in the
`stdbool.h` header. There would need to be some way to detect those and
treat them differently from other macros. See also #288.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants