diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-09-10 13:26:14 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-09-10 13:26:14 +0100 |
| commit | 7791c343c4240ff4c12b755773b58cd9ab7e99d6 (patch) | |
| tree | 48f787405d766776b9985a96e6dce1ebba948225 /src/docs.cpp | |
| parent | 3bd762591ab36dcf45453241aa55160ad96650a0 (diff) | |
Allow for multiple library collections; Store AstFile as pointer
Diffstat (limited to 'src/docs.cpp')
| -rw-r--r-- | src/docs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/docs.cpp b/src/docs.cpp index b6355b786..c0a32287c 100644 --- a/src/docs.cpp +++ b/src/docs.cpp @@ -94,7 +94,7 @@ void print_declaration(AstNode *decl) { void generate_documentation(Parser *parser) { for_array(file_index, parser->files) { - AstFile *file = &parser->files[file_index]; + AstFile *file = parser->files[file_index]; Tokenizer *tokenizer = &file->tokenizer; String fullpath = tokenizer->fullpath; gb_printf("%.*s\n", LIT(fullpath)); |