Don't comment toml tables in generate_config (#2314)
This commit is contained in:
parent
43dad41f8d
commit
68cde25c03
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ public:
|
|||
std::string line;
|
||||
while (std::getline (ss, line, '\n'))
|
||||
{
|
||||
if (!line.empty () && line[0] != '#')
|
||||
if (!line.empty () && line[0] != '#' && line[0] != '[')
|
||||
{
|
||||
line = "#" + line;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue