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; } break;
case MIN_OPEN: { case MIN_OPEN: {
int level=1; int level=1;
end++;
while(end<close_pos) { while(end<close_pos) {
if (str[end]=='[') if (str[end]=='[')
@ -373,6 +374,7 @@ if (res!=-1 && res < min_pos) {\
} break; } break;
case MIN_CURLY_OPEN: { case MIN_CURLY_OPEN: {
int level=1; int level=1;
end++;
while(end<close_pos) { while(end<close_pos) {
if (str[end]=='{') if (str[end]=='{')