circify / compiler

Superseded by https://github.com/circify/circ
https://github.com/circify/circ
5 stars 2 forks source link

Break statements handling #9

Closed jkwoods closed 3 years ago

jkwoods commented 4 years ago

break statements not handled

Example c code:

int bar() {
    int foo = 4;
    if (foo < 9){
        break;
    }
}
elefthei commented 4 years ago

Ah this one is on me, in the "make control flow good" family of issues.

alex-ozdemir commented 4 years ago

The pluming for this is implemented in Circify, we just have to polish it a little and bubble it up to the C frontend.

Code pointers:

kwantam commented 3 years ago

This seems to be a duplicate of #6, so I am closing. (Note that now that I've mentioned that issue, this one will be linked from there. So you can still find Alex's pointers by going to that issue and clicking through to this one.)