--- capa/capa51/pProj/capaLexerDef.flex 1999/10/13 20:05:00 1.3 +++ capa/capa51/pProj/capaLexerDef.flex 1999/12/07 19:10:47 1.5 @@ -1135,6 +1135,7 @@ char * strsave(char *s) { char *p; + if (s==NULL) {return s;} p=capa_malloc(strlen(s)+1,1); strcpy(p,s); return (p); @@ -1194,7 +1195,7 @@ capa_msg(int type, char *p) } warn_msg[idx]=0; append_error(warn_msg); append_error(p); - break; + break; case MESSAGE_WARN: default: sprintf(tmp_line,", Line %d: WARNING:", Current_line[Input_idx]);