deps/kb_meme/meme-5.0.1/src/parser-message.c
/*
 * parmsg_create
 * Creates the parser message.
 */
parmsg_create
Creates the parser message.
parmsg_create Creates the parser message .
PARMSG_T* parmsg_create(SEVERITY_EN severity, int64_t offset, int64_t line, int64_t column, const char* message_format, ...) {
  va_list ap;
  PARMSG_T *msg;
  msg = mm_malloc(sizeof(PARMSG_T));
  va_start(ap, message_format);
  parmsg_vset(msg, severity, offset, line, column, message_format, ap);
  va_end(ap);
  return msg;
}
PARMSG_T * parmsg_create ( SEVERITY_EN severity , int64_t offset , int64_t line , int64_t column , const char * message_format , ... ) { va_list ap ; PARMSG_T * msg ; msg = mm_malloc ( sizeof ( PARMSG_T ) ) ; va_start ( ap , message_format ) ; parmsg_vset ( msg , severity , offset , line , column , message_format , ap ) ; va_end ( ap ) ; return msg ; }
parmsg_create
 Creates the parser message.
parmsg_create Creates the parser message .