Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
exerror.c File Reference
#include <assert.h>
#include <expr/exlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <util/exit.h>
Include dependency graph for exerror.c:

Go to the source code of this file.

Functions

static char * make_msg (const char *format, va_list ap)
 
void exerror (const char *format,...)
 
void exwarn (const char *format,...)
 

Function Documentation

◆ exerror()

void exerror ( const char *  format,
  ... 
)

Definition at line 62 of file exerror.c.

References expr, format, free(), make_msg(), and Exstate_s::program.

Referenced by addItem(), assignable(), cloneGraph(), cloneO(), cloneSubg(), closeFile(), convert(), copy(), deref(), eval(), ex_error(), exnospace(), exsubstr(), extoken_fn(), freadFile(), fwriteFile(), getArg(), getval(), lookup(), nxtAttr(), openFile(), prformat(), print(), readFile(), readLine(), refval(), scan(), scformat(), setval(), stringOf(), strToTvtype(), toKind(), tvtypeToStr(), typeChk(), writeFile(), xConvert(), and xPrint().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ exwarn()

void exwarn ( const char *  format,
  ... 
)

Definition at line 79 of file exerror.c.

References ERROR_WARNING, expr, format, free(), make_msg(), and Exstate_s::program.

Referenced by exsub(), readFile(), and writeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ make_msg()

static char * make_msg ( const char *  format,
va_list  ap 
)
static

Definition at line 30 of file exerror.c.

References excontext(), expr, format, len(), malloc(), NULL, offset, and Exstate_s::program.

Referenced by exerror(), and exwarn().

Here is the call graph for this function:
Here is the caller graph for this function: