|
libmya 0.1.0
Library to parse Mya language.
|
#include "colors.h"

Go to the source code of this file.
Macros | |
| #define | ERR_CTX_SIZE 3 |
| #define | ERR_CTX_LINE_WRAP 80 |
| #define | ERR_PREFIX C_RED "Error" C_NORMAL ": " |
| #define | ERROR_IF(expr, then) |
| #define | ERROR_RET(expr) |
| #define | ERROR_BREAK(expr) |
Typedefs | |
| typedef enum error_code | error_code_t |
| Enumeration of error codes. | |
Enumerations | |
| enum | error_code { ERR_OK = 0 , ERR_EMPTY , ERR_FILE_NOT_FOUND , ERR_INVALID_CODE , ERR_INVALID_INDEX , ERR_MAX_SIZE_EXCEEDED } |
| Enumeration of error codes. More... | |
| #define ERROR_BREAK | ( | expr | ) |
| #define ERROR_IF | ( | expr, | |
| then ) |
Definition at line 23 of file err.h.
| typedef enum error_code error_code_t |
Enumeration of error codes.
| enum error_code |
Enumeration of error codes.
| Enumerator | |
|---|---|
| ERR_OK | |
| ERR_EMPTY | |
| ERR_FILE_NOT_FOUND | |
| ERR_INVALID_CODE | |
| ERR_INVALID_INDEX | |
| ERR_MAX_SIZE_EXCEEDED | |