diff --git a/a1/program.c b/a1/program.c index 16d9f92..117e2ad 100644 --- a/a1/program.c +++ b/a1/program.c @@ -79,6 +79,7 @@ int main() { printf("\nUnexpected closing bracket %c in %d\n", c,i); is_ok=false; + break; } if(c=='>' && cs!='<') {