coan 4.2.4
|
#include "platform.h"
#include "report.h"
#include "io.h"
#include "args.h"
#include "chew.h"
#include "if_control.h"
#include "line_despatch.h"
#include "exception.h"
#include "dataset.h"
Go to the source code of this file.
Data Structures | |
struct | report_state_s |
Typedefs | |
typedef report_state_t | report_public_state_t |
typedef struct report_state_s | report_state_t |
Enumerations | |
enum | report_storage_type { report_storage_type = STATE_STATIC } |
enum | report_init_type { report_initialisation_type = ZERO_INITABLE } |
Functions | |
static char const * | get_comment_type_name (void) |
static char const * | get_linestate_name (void) |
static char const * | if_state_name (void) |
static char const * | get_linetype_name (line_type_t type) |
static size_t | vformat_output (void *dest, int *buflen, int *startoff, char const *format, va_list argp) |
static void | vreport (reason_code_t reason, heap_str *buf, const char *format, va_list argp) |
void | report_initor (void) |
void | report_finitor (void) |
void | flatten_line (char *line) |
size_t | line_len (char const *str) |
int | exitcode (void) |
int | get_exit_flags (int bits) |
void | set_exit_flags (int bits, bool set) |
size_t | format_output (void *dest, int *buflen, int *startoff, char const *format,...) |
void | report (reason_code_t reason, heap_str *buf, const char *format,...) |
void | parse_error (int reason, const char *format,...) |
void | give_up_confused (void) |
void | vbail (int reason, const char *msg, va_list argp) |
void | bail (int reason, const char *format,...) |
void | debugging (bool on) |
void | debug (dbg_code_t how,...) |
void | exit_diagnostics (void) |
void | orphan_elif (void) |
void | orphan_else (void) |
void | orphan_endif (void) |
void | early_eof (void) |
void | processing_file (char const *filename) |
void | entering_dir (char const *dirname) |
void | leaving_dir (char const *dirname) |
heap_str | concatenate (size_t count, char *strs[], int punctch) |
void | report_symbol (symbol_h sym) |
void | report_include (hash_include_const_h inc_arg) |
void | report_directive (canonical_string_const_h cl, directive_type_t directive_type) |
char * | format_int (int_spec_t const *int_spec) |
Variables | |
static char const *const | comment_name [] |
static char const *const | linestate_name [] |
static char const *const | ifstate_name [] |
static char const *const | linetype_name [] |
static report_state_t | report_state |
report_state_t * | report_h = & report_state |
report_public_state_t * | report_public_h = ( report_public_state_t *)& report_state |
static const report_state_t *const | report_static_initialiser_h |
void(* | report_init_h )(report_state_t *) |
void(* | report_finis_h )(report_state_t *) |
This file implements the Report component
Definition in file report.c.