This commit is contained in:
Damián Korpesio 2021-11-26 15:30:59 +01:00
parent 28dd7436ab
commit 3145d42f07

View File

@ -23,7 +23,7 @@ int main(){
hej = 1; hej = 1;
//puts("halo"); //puts("halo");
} }
if (r[0] == '}'){ if (r[0] == '}' || r[n - 2] == '}'){
hej = 3; hej = 3;
printf("Read: %s", r); printf("Read: %s", r);
printf("Unexpected closing bracket } in %d\n", i); printf("Unexpected closing bracket } in %d\n", i);