From 4b844e06c99d9c2e251dde1c8abc47508b801786 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 31 Oct 2010 13:37:11 -0600 Subject: [PATCH] regcomp.h: Remove unused #define ANYOF_RUNTIME() is no longer used, so can be removed. I had long tried to figure out what the purpose of this was, and discovered it really had none. I think it must have had something to do with locales at one time. But locales don't do well with utf8, and I don't know how to make it better. In any event this wasn't actually accomplishing anything. --- regcomp.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/regcomp.h b/regcomp.h index 06e179d..8f0b828 100644 --- a/regcomp.h +++ b/regcomp.h @@ -326,9 +326,6 @@ struct regnode_charclass_class { #define ANYOF_UNICODE 0x20 /* Matches >= one thing past 0xff */ #define ANYOF_UNICODE_ALL 0x40 /* Matches 0x100 - infinity */ -/* Are there any runtime flags on in this node? */ -#define ANYOF_RUNTIME(s) (ANYOF_FLAGS(s) & 0x0f) - #define ANYOF_FLAGS_ALL 0xff /* Character classes for node->classflags of ANYOF */ -- 2.7.4