Fixes problem parsing config files using ConfigFile
This commit is contained in:
parent
3936ed882c
commit
40c0e1993a
1 changed files with 2 additions and 0 deletions
|
@ -357,6 +357,7 @@ if (res!=-1 && res < min_pos) {\
|
|||
} break;
|
||||
case MIN_OPEN: {
|
||||
int level=1;
|
||||
end++;
|
||||
while(end<close_pos) {
|
||||
|
||||
if (str[end]=='[')
|
||||
|
@ -373,6 +374,7 @@ if (res!=-1 && res < min_pos) {\
|
|||
} break;
|
||||
case MIN_CURLY_OPEN: {
|
||||
int level=1;
|
||||
end++;
|
||||
while(end<close_pos) {
|
||||
|
||||
if (str[end]=='{')
|
||||
|
|
Loading…
Reference in a new issue