Skip to content

C-Generator: fix enum assoc values dependency analysis#513

Closed
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:enum-assoc-depend
Closed

C-Generator: fix enum assoc values dependency analysis#513
chqrlie wants to merge 1 commit intoc2lang:masterfrom
chqrlie:enum-assoc-depend

Conversation

@chqrlie
Copy link
Copy Markdown
Contributor

@chqrlie chqrlie commented Apr 21, 2026

  • handle EnumConstant in dep_finder.c2 and c_generator.emitGlobalDecl
  • add test case with recursive enum dependency
  • this test failed in previous builds unless files were specified in the opposite order for compilation

* handle `EnumConstant` in dep_finder.c2 and `c_generator.emitGlobalDecl`
* add test case with recursive enum dependency
* this test failed in previous builds unless files were specified in the
  opposite order for compilation
@chqrlie chqrlie force-pushed the enum-assoc-depend branch from 0cbb980 to 5c4c39d Compare April 22, 2026 10:37
@bvdberg
Copy link
Copy Markdown
Member

bvdberg commented Apr 22, 2026

merged

@bvdberg bvdberg closed this Apr 22, 2026
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