--- capa/capa51/pProj/capaUnit.c 2000/02/09 22:10:24 1.2 +++ capa/capa51/pProj/capaUnit.c 2000/02/22 18:19:02 1.3 @@ -730,7 +730,11 @@ int check_correct_unit(char *u_symb,Uni if ((ufp=fopen("unit.DBUG","a"))==NULL) { fprintf(stderr,"Error: can't open login debug\n"); return; } #endif - while( isspace(*u_symb) ) u_symb++; + while( isspace(*u_symb) ) u_symb++; + /* <= change this to search from the end of string */ + /* or to get rid of all the white spaces */ + + ap = parse_unit_expr(u_symb); Ptopidx=0; postwalk_utree(ap);