blob: f8c978836bc31bc680112f671b6d987f42e1dd71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/* $Header: form.h,v 3.0.1.1 90/10/15 17:26:57 lwall Locked $
*
* Copyright (c) 1989, Larry Wall
*
* You may distribute under the terms of the GNU General Public License
* as specified in the README file that comes with the perl 3.0 kit.
*
* $Log: form.h,v $
* Revision 3.0.1.1 90/10/15 17:26:57 lwall
* patch29: added @###.## fields to format
*
* Revision 3.0 89/10/18 15:17:39 lwall
* 3.0 baseline
*
*/
#define F_NULL 0
#define F_LEFT 1
#define F_RIGHT 2
#define F_CENTER 3
#define F_LINES 4
#define F_DECIMAL 5
struct formcmd {
struct formcmd *f_next;
ARG *f_expr;
STR *f_unparsed;
line_t f_line;
char *f_pre;
short f_presize;
short f_size;
short f_decimals;
char f_type;
char f_flags;
};
#define FC_CHOP 1
#define FC_NOBLANK 2
#define FC_MORE 4
#define FC_REPEAT 8
#define FC_DP 16
#define Nullfcmd Null(FCMD*)
EXT char *chopset INIT(" \n-");
|