davidgiven / ack

The Amsterdam Compiler Kit
http://tack.sf.net
Other
420 stars 59 forks source link

strange code in cemcom.ansi/l_misc.c #206

Open kernigh opened 5 years ago

kernigh commented 5 years ago

cemcom.ansi/l_misc.c lint_conversion() line 292 has the code,

            if (val < 256)
                from_fund = CHAR;
            else if (val < 256)
                from_fund = SHORT;

I suspect that the 2nd constant 256 should be larger, because right now, there is no way to reach the SHORT assignment. I don't know what this code does, nor how to fix it.