nagyistoce / open-source-spin-compiler

Automatically exported from code.google.com/p/open-source-spin-compiler
0 stars 0 forks source link

>< handling is off by one #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ExpressionResolver.cpp, starting at line 727 should read

        case op_rev:
            value2 &= 0xFF;
            result = 0;
            for (int i = 0; i < value2; i++)
            {
                result <<= 1;
                result |= (value1 & 0x01);
                value1 >>= 1;
            }
            break;

Original issue reported on code.google.com by marko.lu...@kyi.biglobe.ne.jp on 17 Mar 2012 at 5:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r33.

Original comment by reltham on 17 Mar 2012 at 7:37