lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>> We also welcome feedback on the listings output by luac -l -l, because
>> luac has been rewritten to account for the new VM instructions.
>
> Shifts are displayed in non-user-friendly way.

Thanks for spotting this. Here is a fix (use sc instead of c):

   case OP_SHRI:
        printf("%d %d %d",a,b,sc);
        break;
   case OP_SHLI:
        printf("%d %d %d",a,b,sc);
        break;