aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/libucl/lua_ucl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/libucl/lua_ucl.c b/contrib/libucl/lua_ucl.c
index fa69c72d0..965dcc9c1 100644
--- a/contrib/libucl/lua_ucl.c
+++ b/contrib/libucl/lua_ucl.c
@@ -539,6 +539,9 @@ lua_ucl_str_to_parse_type (const char *str)
strcasecmp (str, "csexp") == 0) {
type = UCL_PARSE_CSEXP;
}
+ else if (strcasecmp (str, "auto") == 0) {
+ type = UCL_PARSE_AUTO;
+ }
}
return type;