X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=form.h;h=5e74c613fad4696b085141a857fa2c4fdc9c5661;hb=dfd44a5c8c8dd4c001c595debfe73d011a96d844;hp=fc2257b43a1ed5150e0d737598345551f6b1fd29;hpb=8d063cd8450e59ea1c611a2f4f5a21059a2804f1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/form.h b/form.h index fc2257b..5e74c61 100644 --- a/form.h +++ b/form.h @@ -1,29 +1,26 @@ -/* $Header: form.h,v 1.0 87/12/18 13:05:10 root Exp $ +/* form.h + * + * Copyright (c) 1991-1997, Larry Wall + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. * - * $Log: form.h,v $ - * Revision 1.0 87/12/18 13:05:10 root - * Initial revision - * */ -#define F_NULL 0 -#define F_LEFT 1 -#define F_RIGHT 2 -#define F_CENTER 3 -#define F_LINES 4 - -struct formcmd { - struct formcmd *f_next; - ARG *f_expr; - char *f_pre; - short f_presize; - short f_size; - char f_type; - char f_flags; -}; - -#define FC_CHOP 1 -#define FC_NOBLANK 2 -#define FC_MORE 4 +#define FF_END 0 +#define FF_LINEMARK 1 +#define FF_LITERAL 2 +#define FF_SKIP 3 +#define FF_FETCH 4 +#define FF_CHECKNL 5 +#define FF_CHECKCHOP 6 +#define FF_SPACE 7 +#define FF_HALFSPACE 8 +#define FF_ITEM 9 +#define FF_CHOP 10 +#define FF_LINEGLOB 11 +#define FF_DECIMAL 12 +#define FF_NEWLINE 13 +#define FF_BLANK 14 +#define FF_MORE 15 -#define Nullfcmd Null(FCMD*)