Graphviz 13.0.0~dev.20241220.2304
|
#include <ast/ast.h>
#include <ast/error.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <util/exit.h>
Go to the source code of this file.
Functions | |
void | setErrorLine (int line) |
void | setErrorFileLine (char *src, int line) |
void | setErrorId (char *id) |
void | setErrorErrors (int errors) |
int | getErrorErrors (void) |
void | setTraceLevel (int i) |
void | errorv (const char *id, int level, const char *s, va_list ap) |
void | error (int level, const char *s,...) |
void | errorf (void *handle, void *discipline, int level, const char *s,...) |
Variables | |
Error_info_t | error_info |
void error | ( | int | level, |
const char * | s, | ||
... | |||
) |
void errorf | ( | void * | handle, |
void * | discipline, | ||
int | level, | ||
const char * | s, | ||
... | |||
) |
Definition at line 92 of file error.c.
References errorv().
Referenced by initDisc().
void errorv | ( | const char * | id, |
int | level, | ||
const char * | s, | ||
va_list | ap | ||
) |
Definition at line 35 of file error.c.
References ERROR_FATAL, error_info, ERROR_LEVEL, ERROR_PANIC, ERROR_SYSTEM, ERROR_USAGE, ERROR_WARNING, Error_info_s::errors, Error_info_s::file, flags, graphviz_exit(), Error_info_s::id, Error_info_s::indent, Error_info_s::line, prefix, Error_info_s::trace, and Error_info_s::warnings.
Referenced by error(), errorf(), and gverrorf().
int getErrorErrors | ( | void | ) |
Definition at line 32 of file error.c.
References error_info, and Error_info_s::errors.
Referenced by compile(), compileProg(), mkBlock(), mkStmts(), parseBracket(), parseCase(), and parseProg().
void setErrorErrors | ( | int | errors | ) |
Definition at line 31 of file error.c.
References error_info, errors, and Error_info_s::errors.
Referenced by gvpr_core().
void setErrorFileLine | ( | char * | src, |
int | line | ||
) |
Definition at line 26 of file error.c.
References error_info, Error_info_s::file, and Error_info_s::line.
Referenced by checkGuard().
void setErrorId | ( | char * | id | ) |
Definition at line 30 of file error.c.
References error_info, id, and Error_info_s::id.
Referenced by scanArgs().
void setErrorLine | ( | int | line | ) |
Definition at line 25 of file error.c.
References error_info, and Error_info_s::line.
Referenced by compileProg().
void setTraceLevel | ( | int | i | ) |
Definition at line 33 of file error.c.
References error_info, and Error_info_s::trace.
Referenced by doFlags().
Error_info_t error_info |
Definition at line 23 of file error.c.
Referenced by errorv(), extoken_fn(), getErrorErrors(), grpmatch(), onematch(), setErrorErrors(), setErrorFileLine(), setErrorId(), setErrorLine(), and setTraceLevel().