drh / lcc

The lcc retargetable ANSI C compiler
https://drh.github.io/lcc/
2.02k stars 441 forks source link

Type rty definition should be at top #33

Open daipayan93 opened 7 years ago

daipayan93 commented 7 years ago

Hi Dave, In src/stmt.c line no. 151, Type rty definition should be at top in statement function (for C89)

Type rty = freturn(cfunc->type);

Warm Regards, Daipayan Bhowal

rofl0r commented 7 years ago

why ?

mycoboco commented 7 years ago

Seems to miss the brace after the case label.