From: Philipp Takacs Date: Mon, 10 Jun 2019 11:55:02 +0000 (+0200) Subject: remove unused defines in uip/pick.c X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=431604647f89d5aac7b199a7883e98e56e4ccf9e remove unused defines in uip/pick.c These defines were used for the old pattern matching. Since we use regex(3) they aren't used. --- diff --git a/uip/pick.c b/uip/pick.c index d034b7f..8f28f35 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -515,31 +515,6 @@ static struct swit parswit[] = { { NULL, 0 } }; -/* DEFINITIONS FOR PATTERN MATCHING */ - -/* -** We really should be using re_comp() and re_exec() here. Unfortunately, -** pick advertises that lowercase characters matches characters of both -** cases. Since re_exec() doesn't exhibit this behavior, we are stuck -** with this version. Furthermore, we need to be able to save and restore -** the state of the pattern matcher in order to do things "efficiently". -** -** The matching power of this algorithm isn't as powerful as the re_xxx() -** routines (no \(xxx\) and \n constructs). Such is life. -*/ - -#define CCHR 2 -#define CDOT 4 -#define CCL 6 -#define NCCL 8 -#define CDOL 10 -#define CEOF 11 - -#define STAR 01 - -#define LBSIZE 1024 -#define ESIZE 1024 - /* ** DEFINITIONS FOR NEXUS */