From 85e2e9a16ec105307dcf238fd90e76724477d2b1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 13 Jan 2017 09:25:41 +0000 Subject: [PATCH] [Minor] Add auto type to the parser method --- contrib/libucl/lua_ucl.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5