X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fpick.c;h=0b9205bbb14fbde73a7781c7c05a2d8820f319f9;hb=9e6f6b822a6de620c0aab4b122937e2c598169ed;hp=e76b528b11627654db2780f2e89273be91a51e36;hpb=fcaf3752d024fd5ce98f5fbd5604c53444c0a4cf;p=mmh diff --git a/uip/pick.c b/uip/pick.c index e76b528..0b9205b 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -71,7 +71,7 @@ static struct swit switches[] = { #define FORMATSW 22 { "format format", 0 }, #define WIDTHSW 23 - { "width columns", 0 }, + { "width columns", 0 }, #define THREADSW 24 { "thread", 0 }, #define FILESW 25 @@ -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 */