fasterthanlime / jooc-legacy

:crocodile: The historical, initial implementation of an ooc compiler in Java
http://ooc-lang.org/
MIT License
115 stars 4 forks source link

implicit return doesn't work inside version blocks #49

Open fredreichbier opened 14 years ago

fredreichbier commented 14 years ago

http://paste.pocoo.org/show/157875/

generates this code:

char *get() {

#if defined(__linux__)

        {
                "hey";
        }
#endif
}