From 3a54e83d467ecc18eee305a96e50f6ad1896db61 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 29 Oct 2024 17:58:51 +0100 Subject: [PATCH] Initializacia --- a1/main | Bin 16416 -> 16416 bytes a1/program.c | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/a1/main b/a1/main index c4fcfac18b07659e0c16f2df788301212a8f0596..987823d81a1cceeaa544c738304ae45b640c9f8d 100755 GIT binary patch delta 705 zcmYL{OK4L;6o%*AB=)9FOoBIRAK2W|m|`hOZSjE#SWN8oQ4O}Df?!+QRRaahqLE^o z2CK0RMh6!zgopt_Yf-O{c42yKuZ54wcqTzTF!M40`RAXrn9Mk2 z#^Heo=4BHp)iQN}*Blngr?9#Yyx_>X%Ey1CNuelNX#e$X4{Og)JPOn7Owckq)9Y5J z4Ogt-R_h#31?Zu#*X;!>t&xV|CcP~A{ug5(o9QcQ z{r=hCjM;KpGOyo4F>!wmO^|rbL1Ie_mE3-j+ie&(T#nNxQBbBr`he1GbT^?TYSJg@ zZl`DH?iPG76-ws@QN@?_7`I-~q8_d)DQ8V7;tg*d!q&^6DP6k2g&v%xG^#Rn^gCut zf3uC~EG!c8)wb!Ul2{Ry#0zmz?Q3YOyym(())9%g`p@*89vY0EbsauHaAv4A>^hDU z@bO2Bj7=j~kdKk8$R*^-PmD#8q0fxHM~)zkK*&90Ba$J5$nGzU4Ine$7`ud&(8~+X z9U(Ac2f9(VSHHv1&0Gyu*f|<;wd2xhhwQ2LVYejn78Z}-PdCxHya7(o8*)8F=sfOY z^eyfx{UO)8Kj45}{BwlX+9!oQ)-_7PVDJl;3XzaHlzljiT@5sJS5Zw6X}V2v9fP1Mx1SOrN8^64S#x3tmPY6Oop75%z-#{h>vjgV On~7X@5H%LKBm4nqx%FKD delta 643 zcmYk4PiPZS5XN_QO}pC~V>C-!DRegw5?V@H|De@IC>pyt6{}#Bf{G~!qFw^F2Wexh z5S!rExrhgef}|jdvRKnY+myzZfCqyj-V_8`=pn6m5UW1tC87@O`@Q$g%(t`b%Z@{K z9G=RclpR7f%IJom5*2Hws1<=AxTm$+@h>qYRy^L%u_wl-3mx7? zR&B0h-x(_{Sqo~Y;kGsgpuZ*RMf`Gp?FT6)xZ-S55qx&I%XZ5BQjf~Im{GVtgrs+9~ zQ+gZ3@ENUFuuSVCT-V!tA83F<{)@v~w%!mAIqQt1B=w1#>t#XUytP#!5 zeNePYoi8Lfj*0Gmn8s3fg{0Y?E`UKS?K%MwOW%E3h9yk&29=^p1{6h{?d^vgLMW*G TyEi?dy^5^YDr9RkloNjgMBeUf diff --git a/a1/program.c b/a1/program.c index c936066..3a9e3b1 100644 --- a/a1/program.c +++ b/a1/program.c @@ -69,8 +69,9 @@ void check_brackets(const char *line) { if (stack_top >= 0) { printf("Missing closing brackets:"); - while (stack_top >= 0) { - printf(" %c", expected_closing(stack[stack_top].bracket)); + printf(" "); + while (stack_top >= 0) { + printf("%c", expected_closing(stack[stack_top].bracket)); stack_top--; } printf("\n");