More work on modules, Ast_Module, Ast_File and Ast_Scope got unified

This commit is contained in:
Krzosa Karol
2022-06-13 14:04:47 +02:00
parent bcd825c154
commit 4b16439a14
7 changed files with 55 additions and 39 deletions

View File

@@ -2,6 +2,7 @@ function Ast_Decl *parse_decl(B32 is_global);
function void
print_token_context(Token *token){
if(!token) return;
printf(" :: %s:%d\n", token->file.str, (S32)token->line + 1);
// @Note(Krzosa): Print error line
{