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