diff --git a/cv8/program.c b/cv8/program.c index b73b4c7..89fa799 100644 --- a/cv8/program.c +++ b/cv8/program.c @@ -48,12 +48,11 @@ void search(struct tree* this){ if(buffer[0] == '\n'){ search(this); } - if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){ + /*if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){ printf("Nerozumiem\n"); exit(0); - } - - + }*/ + if(buffer[0] == 'a'){ if(this->left->value[0] == '*'){ printf("%s\n", this->left->value); @@ -75,6 +74,7 @@ void search(struct tree* this){ search(this->right); } + printf("Nerozumiem\n"); }