diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-26 21:14:34 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-26 21:14:34 +0100 |
commit | 20b1ec5f84f0292845fb8b276300057a4646f17d (patch) | |
tree | 5f9099ebecd1b6c1f19efe552fd5f61525a4d37f /parse.c | |
parent | Strbuf remove init_1, add strbuf_load. (diff) | |
download | calp-20b1ec5f84f0292845fb8b276300057a4646f17d.tar.gz calp-20b1ec5f84f0292845fb8b276300057a4646f17d.tar.xz |
Made filename attribute of all objects.
Diffstat (limited to '')
-rw-r--r-- | parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -198,7 +198,9 @@ int handle_kv ( ERR_P(ctx, "Expected END:%s, got END:%s.\n%s line", expected_key->mem, CLINE_CUR_VAL(cline)->mem, - PEEK(LLIST(vcomponent))(&ctx->comp_stack)->filename); + vcomponent_get_val( + PEEK(LLIST(vcomponent))(&ctx->comp_stack), + "X-HH-FILENAME")); PUSH(LLIST(strbuf))(&ctx->key_stack, expected_key); return -1; |