deps/kb_meme/meme-5.0.1/src/parser-message.c
/*
 * parmsg_print
 * Print out the parser message.
 */
parmsg_print
Print out the parser message.
parmsg_print Print out the parser message .
void parmsg_print(PARMSG_T* msg, FILE* out) {
  if (msg->severity == SEVERITY_WARNING) {
    fputs("WARNING: ", out);
  } else if (msg->severity == SEVERITY_ERROR) {
    fputs("ERROR: ", out);
  }
  fprintf(out, "%s\n", msg->message);
}
void parmsg_print ( PARMSG_T * msg , FILE * out ) { if ( msg -> severity == SEVERITY_WARNING ) { fputs ( " " , out ) ; } else if ( msg -> severity == SEVERITY_ERROR ) { fputs ( " " , out ) ; } fprintf ( out , " \n " , msg -> message ) ; }
parmsg_print
 Print out the parser message.
parmsg_print Print out the parser message .
//TODO implement better