From: K.Kosako Date: Fri, 26 Jul 2019 05:09:55 +0000 (+0900) Subject: refactoring X-Git-Tag: v6.9.3~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daa35b27cbd40327969190b2892bebdce955be70;p=onig refactoring --- diff --git a/src/regparse.h b/src/regparse.h index b7a2867..7556548 100644 --- a/src/regparse.h +++ b/src/regparse.h @@ -252,10 +252,6 @@ typedef struct _Node { #define NODE_BIT_CALL NODE_TYPE2BIT(NODE_CALL) #define NODE_BIT_GIMMICK NODE_TYPE2BIT(NODE_GIMMICK) -#define NODE_IS_SIMPLE_TYPE(node) \ - ((NODE_TYPE2BIT(NODE_TYPE(node)) & \ - (NODE_BIT_STRING | NODE_BIT_CCLASS | NODE_BIT_CTYPE | NODE_BIT_BACKREF)) != 0) - #define NODE_TYPE(node) ((node)->u.base.node_type) #define NODE_SET_TYPE(node, ntype) (node)->u.base.node_type = (ntype)