Trying, tyring

This commit is contained in:
Anton Dolozin 2025-10-13 14:29:06 +02:00
parent 97fab40dd3
commit 2cbfbb835f

View File

@ -74,7 +74,7 @@ void read_input(LinkedNode** head){
push(head, buff[i]);}
if(buff[i] == '>' || buff[i] == '}' || buff[i] == ']' || buff[i] == ')'){
if(*head == NULL){
printf("Read %sUnexpected closing bracket %c in %d\n", buff, buff[i], i);
printf("Read: %sUnexpected closing bracket %c in %d\n", buff, buff[i], i);
return;
}
char popped = pop(head);