lynn / chibicc

A small C compiler… for uxn
MIT License
115 stars 5 forks source link

Pointers in global variable initializers aren't supported #10

Closed hikari-no-yume closed 1 year ago

hikari-no-yume commented 1 year ago

As I understand it, we can't support stuff like int *b = &a + 1; because uxnasm has no way to express this, but int *b = &a; seems doable maybe?

hikari-no-yume commented 1 year ago

Oh wait oops this is a dupe of https://github.com/lynn/chibicc/issues/3 >.<