diff --git a/a2/program.c b/a2/program.c index 95ae361..c1d968a 100644 --- a/a2/program.c +++ b/a2/program.c @@ -131,7 +131,7 @@ int main(){ hej = 1; //r[a] = 'a'; p = a; - a = n; + a = n -1; } else if (r[a] == '}' || r[a] == ']' || r[a] == ')'){ //puts("nasiel");