Browse Source

[Minor] Add auto type to the parser method

tags/1.5.0
Vsevolod Stakhov 7 years ago
parent
commit
85e2e9a16e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      contrib/libucl/lua_ucl.c

+ 3
- 0
contrib/libucl/lua_ucl.c 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;

Loading…
Cancel
Save