diff options
author | Taru Karttunen <taruti@taruti.net> | 2011-03-30 15:46:40 +0300 |
---|---|---|
committer | Taru Karttunen <taruti@taruti.net> | 2011-03-30 15:46:40 +0300 |
commit | e5888a1ffdae813d7575f5fb02275c6bb07e5199 (patch) | |
tree | d8d51eac403f07814b9e936eed0c9a79195e2450 /sys/src/cmd/tbl/t0.c |
Import sources from 2011-03-30 iso image
Diffstat (limited to 'sys/src/cmd/tbl/t0.c')
-rwxr-xr-x | sys/src/cmd/tbl/t0.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/sys/src/cmd/tbl/t0.c b/sys/src/cmd/tbl/t0.c new file mode 100755 index 000000000..0c0895bde --- /dev/null +++ b/sys/src/cmd/tbl/t0.c @@ -0,0 +1,49 @@ + /* t0.c: storage allocation */ +# +# include "t.h" +int expflg = 0; +int ctrflg = 0; +int boxflg = 0; +int dboxflg = 0; +int tab = '\t'; +int linsize; +int pr1403; +int delim1, delim2; +int evenflg; +int *evenup; +int F1 = 0; +int F2 = 0; +int allflg = 0; +char *leftover = 0; +int textflg = 0; +int left1flg = 0; +int rightl = 0; +char *cstore, *cspace; +char *last; +struct colstr *table[MAXLIN]; +int stynum[MAXLIN+1]; +int fullbot[MAXLIN]; +char *instead[MAXLIN]; +int linestop[MAXLIN]; +int (*style)[MAXHEAD]; +char (*font)[MAXHEAD][2]; +char (*csize)[MAXHEAD][4]; +char (*vsize)[MAXHEAD][4]; +int (*lefline)[MAXHEAD]; +char (*cll)[CLLEN]; +int (*flags)[MAXHEAD]; +int qcol; +int *doubled, *acase, *topat; +int nslin, nclin; +int *sep; +int *used, *lused, *rused; +int nlin, ncol; +int iline = 1; +char *ifile = "Input"; +int texname = 'a'; +int texct = 0; +char texstr[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYXZ0123456789"; +int linstart; +char *exstore, *exlim, *exspace; +Biobuf *tabin /*= stdin */; +Biobuf tabout /* = stdout */; |