Go to the source code of this file.
|
STA_DECL diagnostic_list_t | get_common_diagnostics (void) |
| get all common diagnostics More...
|
|
STA_DECL void | evt_scan_error (logger_t *logger, const node_t *node, const char *msg) |
| signal that a scan error has occurred More...
|
|
STA_DECL void | evt_scan_unknown (logger_t *logger, const node_t *node, const char *msg) |
| signal that a scanner has encountered an unknown token More...
|
|
STA_DECL event_builder_t | evt_symbol_shadowed (logger_t *logger, const char *name, const node_t *prev, const node_t *next) |
| signal that a declaration would shadow a previous declaration More...
|
|
STA_DECL event_builder_t | evt_os_error (logger_t *logger, const diagnostic_t *diagnostic, os_error_t error, const char *msg) |
| signal that an os error has occurred More...
|
|
◆ CTU_EVENT [1/2]
#define CTU_EVENT |
( |
|
name, |
|
|
|
... |
|
) |
| const diagnostic_t kEvent_##name = __VA_ARGS__; |
declare all the events
Definition at line 9 of file events.c.
◆ CTU_EVENT [2/2]
#define CTU_EVENT |
( |
|
name, |
|
|
|
... |
|
) |
| &kEvent_##name, |
declare all the events
Definition at line 9 of file events.c.
◆ DIAGNOTSIC_COUNT
#define DIAGNOTSIC_COUNT (sizeof(kDiagnosticTable) / sizeof(diagnostic_t*)) |