summaryrefslogtreecommitdiffstats
path: root/src/config-bison.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config-bison.y')
-rw-r--r--src/config-bison.y17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/config-bison.y b/src/config-bison.y
index 247a270..c9512ac 100644
--- a/src/config-bison.y
+++ b/src/config-bison.y
@@ -272,13 +272,26 @@ OPTIONS_DEF OPT_ARGS_STRING_POINTER_LENGTH '=' BOOL
list_names_comma:
list_names_comma ',' NAME
{
- if (lt_config_ln_add(&ln_names, $3))
+ if (lt_config_ln_add(&ln_names, $3, 0, LT_CONFIG_LN_NAME))
ABORT("failed to add list name");
}
|
NAME
{
- if (lt_config_ln_add(&ln_names, $1))
+ if (lt_config_ln_add(&ln_names, $1, 0, LT_CONFIG_LN_NAME))
+ ABORT("failed to add list name");
+}
+
+list_values_comma:
+list_values_comma ',' VALUE
+{
+ if (lt_config_ln_add(&ln_names, NULL, $3, LT_CONFIG_LN_VALUE))
+ ABORT("failed to add list name");
+}
+|
+VALUE
+{
+ if (lt_config_ln_add(&ln_names, NULL, $1, LT_CONFIG_LN_VALUE))
ABORT("failed to add list name");
}