spacing? a1

This commit is contained in:
Ivan Leichenko 2024-10-31 19:07:20 +01:00
parent 206c26a2cf
commit 1405d36b09

View File

@ -42,7 +42,7 @@ int main()
} }
else if (!isMatchingPair(stack[top], ch)) else if (!isMatchingPair(stack[top], ch))
{ {
printf("Crossed bracket %c in %d, expected %c\n", ch, i, (stack[top] == '(' ? ')' : stack[top] == '{' ? '}' : stack[top] == '[' ? ']' : '>')); printf("Crossed bracket %c in %d, expected %c \n", ch, i, (stack[top] == '(' ? ')' : stack[top] == '{' ? '}' : stack[top] == '[' ? ']' : '>'));
return 0; return 0;
} }
top--; top--;