libmya 0.1.0
Library to parse Mya language.
Loading...
Searching...
No Matches
error_handling.h
Go to the documentation of this file.
1#pragma once
2
3#include "colors.h"
4#include "module.h"
5#include "types/err.h"
6
17void
18error_module_ctx(module_t* module, unsigned int line, unsigned int column, unsigned int length, const char* message);
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.
Struct that represents a Mya module.
Definition module.h:34
struct module module_t
Struct that represents a Mya module.