commit e39cc9652d340623fd4fba9c2f938fd168e8d5be
parent bb43da6c9c0f11d1b9acd6211c9319ecb6918969
Author: Pavel Renev <an2qzavok@gmail.com>
Date: Wed, 26 Apr 2023 17:34:12 +0300
tablist: some headroom
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/tablist/tablist.h b/src/tablist/tablist.h
@@ -7,6 +7,16 @@ struct TLnode {
int count;
};
+typedef struct TLparser TLparser;
+struct TLparserr {
+ char *file;
+ int sp, row, col;
+ TLnode *root, *stack[64];
+};
+
+TLparesr * initTLparser(char *);
+int TLparse(TLparser *, void *, size);
+
TLnode * allocTLnode(char *, char *);
int freeTLnode(TLnode *);
int TLnodeappend(TLnode *, TLnode *);