spacing? a1
This commit is contained in:
parent
206c26a2cf
commit
1405d36b09
@ -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--;
|
||||||
|
Loading…
Reference in New Issue
Block a user