From 097442ed9e3340344d7fbc021baaf0b11e7ea4fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 23 Feb 2019 21:19:32 +0100 Subject: Everything broken, again. --- parse.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'parse.h') diff --git a/parse.h b/parse.h index 01863369..9d2ab2e5 100644 --- a/parse.h +++ b/parse.h @@ -1,10 +1,12 @@ #ifndef PARSE_H #define PARSE_H +#include + #include #include -#include "strbuf.h" +// #include "strbuf.h" #include "vcal.h" // #define TYPE vcomponent @@ -28,7 +30,7 @@ typedef enum { */ struct parse_ctx { char* filename; - llist key_stack; + llist key_stack; llist comp_stack; /* Number for unfolded lines */ @@ -39,7 +41,7 @@ struct parse_ctx { int pline; int pcolumn; - strbuf str; + std::string str; parse_ctx (const char* filename); @@ -47,7 +49,7 @@ struct parse_ctx { }; int handle_kv( - strbuf* key, + std::string* key, // content_line* cline, parse_ctx* ctx ); -- cgit v1.2.3