Tryong
This commit is contained in:
parent
03518444c1
commit
d898d95d85
15
a1/program.c
15
a1/program.c
@ -195,6 +195,21 @@ void read_input(LinkedNode** head){
|
||||
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;
|
||||
}
|
||||
if (buff[i] == '(')
|
||||
{
|
||||
printf("Read: %sMissing closing brackets: )\n", buff);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
i++;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user