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 0696e15..a37775d 100644
--- a/src/sc_parse.c
+++ b/src/sc_parse.c
@@ -453,6 +453,13 @@ SCBlock *sc_parse(const char *sc)
}
+void sc_block_set_options(SCBlock *bl, char *opt)
+{
+ free(bl->options);
+ bl->options = opt;
+}
+
+
SCBlock *find_last_child(SCBlock *bl)
{
if ( bl == NULL ) return NULL;