perl 4.0 patch 14: patch #11, continued
[p5sagit/p5-mst-13.2.git] / form.h
CommitLineData
6e21c824 1/* $RCSfile: form.h,v $$Revision: 4.0.1.1 $$Date: 91/06/07 11:08:20 $
a687059c 2 *
6e21c824 3 * Copyright (c) 1991, Larry Wall
a687059c 4 *
6e21c824 5 * You may distribute under the terms of either the GNU General Public
6 * License or the Artistic License, as specified in the README file.
8d063cd8 7 *
8 * $Log: form.h,v $
6e21c824 9 * Revision 4.0.1.1 91/06/07 11:08:20 lwall
10 * patch4: new copyright notice
11 *
fe14fcc3 12 * Revision 4.0 91/03/20 01:19:37 lwall
13 * 4.0 baseline.
8d063cd8 14 *
15 */
16
17#define F_NULL 0
18#define F_LEFT 1
19#define F_RIGHT 2
20#define F_CENTER 3
21#define F_LINES 4
d9d8d8de 22#define F_DECIMAL 5
8d063cd8 23
24struct formcmd {
25 struct formcmd *f_next;
26 ARG *f_expr;
a687059c 27 STR *f_unparsed;
28 line_t f_line;
8d063cd8 29 char *f_pre;
30 short f_presize;
31 short f_size;
d9d8d8de 32 short f_decimals;
8d063cd8 33 char f_type;
34 char f_flags;
35};
36
37#define FC_CHOP 1
38#define FC_NOBLANK 2
39#define FC_MORE 4
a687059c 40#define FC_REPEAT 8
d9d8d8de 41#define FC_DP 16
8d063cd8 42
43#define Nullfcmd Null(FCMD*)
a687059c 44
45EXT char *chopset INIT(" \n-");