aboutsummaryrefslogtreecommitdiff
path: root/src/sc_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sc_parse.c')
-rw-r--r--src/sc_parse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sc_parse.c b/src/sc_parse.c
index 93a346e..0f8e893 100644
--- a/src/sc_parse.c
+++ b/src/sc_parse.c
@@ -514,6 +514,13 @@ void sc_block_set_options(SCBlock *bl, char *opt)
}
+void sc_block_set_contents(SCBlock *bl, char *con)
+{
+ free(bl->contents);
+ bl->contents = con;
+}
+
+
SCBlock *find_last_child(SCBlock *bl)
{
if ( bl == NULL ) return NULL;