prvy
This commit is contained in:
parent
29351306ac
commit
fa52b8999f
@ -126,10 +126,10 @@ int main(){
|
|||||||
hej = 3;
|
hej = 3;
|
||||||
//puts("ahoj");
|
//puts("ahoj");
|
||||||
printf("Read: %s", r);
|
printf("Read: %s", r);
|
||||||
if (r[i] == '}'){printf("Unexpected closing bracket } in %d\n", i+1);}
|
if (r[i] == '}'){printf("Unexpected closing bracket } in %d\n", i);}
|
||||||
else if (r[i] == ')'){printf("Unexpected closing bracket ) in %d\n", i+1);}
|
else if (r[i] == ')'){printf("Unexpected closing bracket ) in %d\n", i);}
|
||||||
else if (r[i] == ']'){printf("Unexpected closing bracket ] in %d\n", i+1);}
|
else if (r[i] == ']'){printf("Unexpected closing bracket ] in %d\n", i);}
|
||||||
else if (r[i] == '>'){printf("Unexpected closing bracket > in %d\n", i+1);}
|
else if (r[i] == '>'){printf("Unexpected closing bracket > in %d\n", i);}
|
||||||
i = n - 2;
|
i = n - 2;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
Loading…
Reference in New Issue
Block a user