diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-02 17:58:07 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-05-02 17:58:07 +0200 |
commit | 4fe953de7b5994a896094cf0d62192559a08967d (patch) | |
tree | fa6ec5bdab5a0f1ef02d39e80c6e6ff621c87912 /src/parse.h | |
parent | Change function for creating hashtables. (diff) | |
download | calp-4fe953de7b5994a896094cf0d62192559a08967d.tar.gz calp-4fe953de7b5994a896094cf0d62192559a08967d.tar.xz |
work on porting most internal datastructures to scheme equivalents.
Diffstat (limited to 'src/parse.h')
-rw-r--r-- | src/parse.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/parse.h b/src/parse.h index 53263b4c..ed235e88 100644 --- a/src/parse.h +++ b/src/parse.h @@ -51,8 +51,10 @@ typedef struct { * context stacks used since ICS files form a tree. key_stack is * only for sequrity purposes. */ - LLIST(strbuf) key_stack; - LLIST(vcomponent) comp_stack; + // LLIST(strbuf) key_stack; + // LLIST(vcomponent) comp_stack; + SCM key_stack; + SCM comp_stack; /* Number for unfolded lines * TODO remove this @@ -91,7 +93,8 @@ int parse_file(char* filename, FILE* f, vcomponent* cal); */ int handle_kv( strbuf* key, - content_line* cline, + strbuf* val, + SCM* content_pair, parse_ctx* ctx ); |