This commit is contained in:
Anton Dolozin 2025-10-13 15:16:02 +02:00
parent 03518444c1
commit d898d95d85

View File

@ -195,6 +195,21 @@ void read_input(LinkedNode** head){
printf("Read: %sMissing closing brackets: ]\n", buff); printf("Read: %sMissing closing brackets: ]\n", buff);
return; return;
} }
if (buff[i] == '{')
{
printf("Read: %sMissing closing brackets: }\n", buff);
return;
}
if (buff[i] == '<')
{
printf("Read: %sMissing closing brackets: >\n", buff);
return;
}
if (buff[i] == '(')
{
printf("Read: %sMissing closing brackets: )\n", buff);
return;
}
} }
i++; i++;