diff options
Diffstat (limited to 'src/starter/parser.y')
-rw-r--r-- | src/starter/parser.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/starter/parser.y b/src/starter/parser.y index 9eb09d160..58efeef03 100644 --- a/src/starter/parser.y +++ b/src/starter/parser.y @@ -81,7 +81,7 @@ section_or_include: { section_list_t *section = malloc_thing(section_list_t); - section->name = clone_str($2); + section->name = strdupnull($2); section->kw = NULL; section->next = NULL; _parser_kw = &(section->kw); @@ -96,7 +96,7 @@ section_or_include: | CA STRING EOL { section_list_t *section = malloc_thing(section_list_t); - section->name = clone_str($2); + section->name = strdupnull($2); section->kw = NULL; section->next = NULL; _parser_kw = &(section->kw); @@ -137,7 +137,7 @@ statement_kw: { new = (kw_list_t *)malloc_thing(kw_list_t); new->entry = entry; - new->value = clone_str($3); + new->value = strdupnull($3); new->next = NULL; if (_parser_kw_last) _parser_kw_last->next = new; |