MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / error

Function error

extern/btyacc/error.c:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78int read_errs = 0;
79
80void error(int lineno, char *line, char *cptr, char *msg, ...)
81{
82 char sbuf[512];
83 va_list args;
84
85 va_start(args, msg);
86 vsprintf(sbuf, msg, args);
87 va_end(args);
88 FileError("%s", sbuf);
89 read_errs++;
90}
91
92void syntax_error(int lineno, char *line, char *cptr) {
93 error(lineno, line, cptr, "syntax error");

Callers 15

read_skelFunction · 0.70
syntax_errorFunction · 0.70
unterminated_commentFunction · 0.70
unterminated_stringFunction · 0.70
unterminated_textFunction · 0.70
unterminated_unionFunction · 0.70
over_unionizedFunction · 0.70
illegal_tagFunction · 0.70
illegal_characterFunction · 0.70
used_reservedFunction · 0.70
tokenized_startFunction · 0.70
terminal_startFunction · 0.70

Calls 2

vsprintfFunction · 0.85
FileErrorFunction · 0.85

Tested by

no test coverage detected