Parcourir la source

[Minor] Add auto type to the parser method

tags/1.5.0
Vsevolod Stakhov il y a 7 ans
Parent
révision
85e2e9a16e
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      contrib/libucl/lua_ucl.c

+ 3
- 0
contrib/libucl/lua_ucl.c Voir le fichier

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

Chargement…
Annuler
Enregistrer