libmya 0.1.0
Library to parse Mya language.
|
Go to the source code of this file.
Macros | |
#define | LBUFF_SIZE 127 |
#define | COL_PREFIX_SIZE 7 |
Functions | |
void | error_module_ctx (module_t *module, unsigned int line, unsigned int column, unsigned int length, const char *message) |
Print a error message formated to show the code context inside the module. | |
#define COL_PREFIX_SIZE 7 |
Definition at line 59 of file error_handling.c.
#define LBUFF_SIZE 127 |
Definition at line 8 of file error_handling.c.
void error_module_ctx | ( | module_t * | module, |
unsigned int | line, | ||
unsigned int | column, | ||
unsigned int | length, | ||
const char * | message ) |
Print a error message formated to show the code context inside the module.
module | The module where the error will be showed. |
line | The module's line where the error is. |
column | The line's column where the error starts. |
length | The length of the part where has an error in the line. It's starts on column and ends on column + length . |
message | The error message to print. |
Definition at line 24 of file error_handling.c.