diff options
author | Hugo Hörnquist <hugo@hornquist.se> | 2019-10-01 23:03:11 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@hornquist.se> | 2019-10-01 23:03:11 +0200 |
commit | f0e2fe43a5e5e22342a13139815556ae3b373d6c (patch) | |
tree | 19acf9638371241e76c70451b33cb717a1247ae8 /src/parse.h | |
parent | Add missing '$' sign in main. (diff) | |
download | calp-f0e2fe43a5e5e22342a13139815556ae3b373d6c.tar.gz calp-f0e2fe43a5e5e22342a13139815556ae3b373d6c.tar.xz |
Start moving to scheme structs.
Diffstat (limited to '')
-rw-r--r-- | src/parse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parse.h b/src/parse.h index 53263b4c..a7e97ec8 100644 --- a/src/parse.h +++ b/src/parse.h @@ -47,7 +47,7 @@ typedef struct { FILE* f; - /* + /* * context stacks used since ICS files form a tree. key_stack is * only for sequrity purposes. */ @@ -68,7 +68,7 @@ typedef struct { * String which we write everything read into. * Later copied to appropiate places. */ - strbuf str; + // strbuf str; } parse_ctx; INIT_F(parse_ctx, FILE* f, char* filename); @@ -117,6 +117,6 @@ int handle_kv( */ int fold(parse_ctx* ctx, char c); -int handle_escape (parse_ctx* ctx); +char handle_escape (parse_ctx* ctx); #endif /* PARSE_H */ |