ooc-lang / rock

:ocean: self-hosted ooc compiler that generates c99
http://ooc-lang.org/
MIT License
403 stars 40 forks source link

Versioned enums should push generated symbols to their respective versions #936

Closed alexnask closed 8 years ago

alexnask commented 8 years ago

Closes #935.

Kind of hackish, but I see no way around it, I will be thinking about it some more and maybe changing some stuff.

alexnask commented 8 years ago

This looks good enough in my opinion, if anyone is has any idea and is willing to take a shot to do it differently, go ahead, merging for now.