X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;ds=sidebyside;f=uip%2Fpick.c;h=0b9205bbb14fbde73a7781c7c05a2d8820f319f9;hb=b97368925e31edcfc6f69366d7b725e6a4d9881e;hp=d034b7ffc7bb15f0dbe9161ab7a369c8b83273b1;hpb=b8f8417b741561bdc88dbfdfe577ec66630aef7f;p=mmh diff --git a/uip/pick.c b/uip/pick.c index d034b7f..0b9205b 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -340,7 +340,6 @@ main(int argc, char **argv) for (msgnum = 0; msgnum < msgs.size; msgnum++) if (!m_convert(mp, msgs.msgs[msgnum])) exit(EX_USAGE); - seq_setprev(mp); /* set the previous-sequence */ /* ** If we aren't saving the results to a sequence, @@ -515,31 +514,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 */