MCPcopy Create free account
hub / github.com/Meridian59/Meridian59 / codegen_error

Function codegen_error

blakcomp/codeutil.c:22–34  ·  view source on GitHub ↗

/ * codegen_error: Print an error message during code generation */

Source from the content-addressed store, hash-verified

20 * codegen_error: Print an error message during code generation
21 */
22void codegen_error(const char *fmt, ...)
23{
24 va_list marker;
25
26 fprintf(stderr, "error: ");
27
28 va_start(marker, fmt);
29 vfprintf(stderr, fmt, marker);
30 va_end(marker);
31 fprintf(stderr, "\nAborting.\n");
32
33 codegen_ok = false;
34}
35/************************************************************************/
36void OutputOpcode(FILE *outfile, opcode_type opcode)
37{

Callers 7

OutputBaseExpressionFunction · 0.85
set_source_idFunction · 0.85
set_dest_idFunction · 0.85
flatten_exprFunction · 0.85
codegen_callFunction · 0.85
codegen_messageFunction · 0.85
codegenFunction · 0.85

Calls 2

fprintfFunction · 0.85
vfprintfFunction · 0.85

Tested by

no test coverage detected