This commit is contained in:
Weber 2024-10-31 18:06:06 +00:00
parent de36b5531b
commit 34011a6dc0

View File

@ -81,7 +81,7 @@ void skontrolujZatvorky(const char *kod) {
char poslednaOtvaracia = vyber(&z);
if (!suZosuladene(poslednaOtvaracia, aktualny)) {
printf("Crossed bracket %c at position %d, expected '%c'\n",
printf("Crossed bracket %c at position %d, expected %c\n",
aktualny, pozicia,
(poslednaOtvaracia == '{') ? '}' :
(poslednaOtvaracia == '[') ? ']' :