From 23045930b655cbb534f1a646a8644f76425e3280 Mon Sep 17 00:00:00 2001 From: Anton Dolozin Date: Mon, 13 Oct 2025 18:16:00 +0200 Subject: [PATCH] Fixed indentations again --- a1/program.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/a1/program.c b/a1/program.c index 5fb1826..2c588f6 100644 --- a/a1/program.c +++ b/a1/program.c @@ -88,7 +88,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected ]\n"); + printf(" expected ] \n"); return; } if (popped == '(' && buff[i] == '>') @@ -96,7 +96,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected )\n"); + printf(" expected ) \n"); return; } if (popped == '{' && buff[i] == '>') @@ -112,7 +112,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected >\n"); + printf(" expected > \n"); return; } if (popped == '(' && buff[i] == ']') @@ -120,7 +120,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected )\n"); + printf(" expected ) \n"); return; } if (popped == '{' && buff[i] == ']') @@ -128,7 +128,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected }\n"); + printf(" expected } \n"); return; } if (popped == '<' && buff[i] == ')') @@ -136,7 +136,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected >\n"); + printf(" expected > \n"); return; } if (popped == '[' && buff[i] == ')') @@ -144,7 +144,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected ]\n"); + printf(" expected ] \n"); return; } if (popped == '{' && buff[i] == ')') @@ -152,7 +152,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected }\n"); + printf(" expected } \n"); return; } if (popped == '<' && buff[i] == '}') @@ -160,7 +160,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected >\n"); + printf(" expected > \n"); return; } @@ -169,7 +169,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected )\n"); + printf(" expected ) \n"); return; } @@ -178,7 +178,7 @@ void read_input(LinkedNode** head){ printf("Read: %s", buff); printf("Crossed bracket %c", buff[i]); printf(" in %d,", i); - printf(" expected ]\n"); + printf(" expected ] \n"); return; }