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

Function FileError

extern/btyacc/error.c:16–24  ·  view source on GitHub ↗

* VM: print error message with file coordinates. * Do it in style acceptable to emacs. */

Source from the content-addressed store, hash-verified

14 * Do it in style acceptable to emacs.
15 */
16void FileError(char *fmt, ...) {
17 va_list args;
18
19 fprintf(stderr, "%s:%d: ", (inc_file?inc_file_name:input_file_name), lineno);
20 va_start(args, fmt);
21 vfprintf(stderr, fmt, args);
22 va_end(args);
23 fprintf(stderr, "\n");
24}
25
26void fatal(char *msg)
27{

Callers 8

unexpected_EOFFunction · 0.85
errorFunction · 0.85
retyped_warningFunction · 0.85
reprec_warningFunction · 0.85
revalued_warningFunction · 0.85
restarted_warningFunction · 0.85
dollar_warningFunction · 0.85
default_action_warningFunction · 0.85

Calls 1

vfprintfFunction · 0.85

Tested by

no test coverage detected