X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=opcode.h;h=159d74def8490755be7ee923bf9f8acff018a313;hb=ca62f0fc957407f48588d44995309a50a80e45ab;hp=9c1537bb7de2cd92f8cde23f7ddb0248fed65a35;hpb=4bb101f2758f169969171dfe6b70f68a406dcc1e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/opcode.h b/opcode.h index 9c1537b..159d74d 100644 --- a/opcode.h +++ b/opcode.h @@ -21,10 +21,10 @@ START_EXTERN_C -#define OP_NAME(o) (o->op_type == OP_CUSTOM ? custom_op_name(o) : \ - PL_op_name[o->op_type]) -#define OP_DESC(o) (o->op_type == OP_CUSTOM ? custom_op_desc(o) : \ - PL_op_desc[o->op_type]) +#define OP_NAME(o) ((o)->op_type == OP_CUSTOM ? custom_op_name(o) : \ + PL_op_name[(o)->op_type]) +#define OP_DESC(o) ((o)->op_type == OP_CUSTOM ? custom_op_desc(o) : \ + PL_op_desc[(o)->op_type]) #ifndef DOINIT EXT char *PL_op_name[];