lua-users home
lua-l archive

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


In the Lua 5.1 sources the macro "binopistest"
defined in lcode.h, line 35, does not appear
to be used anywhere. Is that correct?

If it were used, I would recommend it be amended
to

#define binopistest(op) ((op) >= OPR_NE && (op) <= OPR_OR)

just in case more opcodes come along.
-- 
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/