[Minor] Add auto type to the parser method

This commit is contained in:
Vsevolod Stakhov 2017-01-13 09:25:41 +00:00
parent d9f7a74a1c
commit 85e2e9a16e

View File

@ -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;