forked from suyu/suyu
frontend_common: config: Do not count "." as a special character
It would break reading floating point settings
This commit is contained in:
parent
d163b18208
commit
24a78dba31
1 changed files with 2 additions and 3 deletions
|
@ -213,9 +213,8 @@ private:
|
||||||
const std::optional<bool>& use_global);
|
const std::optional<bool>& use_global);
|
||||||
void WriteString(const std::string& key, const std::string& value);
|
void WriteString(const std::string& key, const std::string& value);
|
||||||
|
|
||||||
inline static std::array<char, 19> special_characters = {'!', '#', '$', '%', '^', '&', '*',
|
inline static std::array<char, 18> special_characters = {
|
||||||
'|', ';', '\'', '\"', ',', '<', '.',
|
'!', '#', '$', '%', '^', '&', '*', '|', ';', '\'', '\"', ',', '<', '>', '?', '`', '~', '='};
|
||||||
'>', '?', '`', '~', '='};
|
|
||||||
|
|
||||||
struct ConfigArray {
|
struct ConfigArray {
|
||||||
std::string name;
|
std::string name;
|
||||||
|
|
Loading…
Reference in a new issue