From a5e76d9e908319361594bc8359e0c88bf397edf3 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 29 Oct 2024 18:04:22 +0100 Subject: [PATCH] Initializacia --- a1/main | Bin 16416 -> 16416 bytes a1/program.c | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/a1/main b/a1/main index 987823d81a1cceeaa544c738304ae45b640c9f8d..0bc7763cae257ff292d13f89b53474ae437349fc 100755 GIT binary patch delta 72 zcmV-O0Js03fB~R@0kC)j6z{%HeY8%!n6J~v=&!+0+0DdU5VMQ}G7$l`lfM*S0dSKa e6=VS$vxF7#3IQOKbs#RYq##@z0i?45Js$(I933_Q delta 70 zcmV-M0J;C5fB~R@0kC)j6bzGMl{T>(euA=4lccOf41BC$C9{kJG7$l_lfM*S0dJEZ c6=VS#vxF7#3X^sqF0-Q`T^s?UvjIIH1FHiV_5c6? diff --git a/a1/program.c b/a1/program.c index 3a9e3b1..c1dc6b5 100644 --- a/a1/program.c +++ b/a1/program.c @@ -60,7 +60,7 @@ void check_brackets(const char *line) { } else if (stack[stack_top].bracket == matching_bracket(ch)) { stack_top--; } else { - printf("Crossed bracket %c in %d, expected %c\n", ch, i, + printf("Crossed bracket %c in %d, expected %c \n", ch, i, expected_closing(stack[stack_top].bracket)); return; } @@ -89,3 +89,4 @@ int main() { return 0; } +