Fixes problem parsing config files using ConfigFile

This commit is contained in:
Juan Linietsky 2015-05-12 09:12:18 -03:00
parent 3936ed882c
commit 40c0e1993a

View file

@ -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]=='{')