diff options
| author | gingerBill <bill@gingerbill.org> | 2018-05-21 20:47:52 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-05-21 20:47:52 +0100 |
| commit | 5b6770f3d297c0639bdbe8b1b029616c16669165 (patch) | |
| tree | 79053a455efde40e77b4dc5ef1aa92f59c907523 /src/docs.cpp | |
| parent | 718b80ba398b8980c37f79dded101bcf20d187d2 (diff) | |
Parse directories to be packages
Diffstat (limited to 'src/docs.cpp')
| -rw-r--r-- | src/docs.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/docs.cpp b/src/docs.cpp index c0a32287c..bfc34232e 100644 --- a/src/docs.cpp +++ b/src/docs.cpp @@ -93,15 +93,15 @@ void print_declaration(AstNode *decl) { } void generate_documentation(Parser *parser) { - for_array(file_index, parser->files) { - AstFile *file = parser->files[file_index]; - Tokenizer *tokenizer = &file->tokenizer; - String fullpath = tokenizer->fullpath; - gb_printf("%.*s\n", LIT(fullpath)); + // for_array(file_index, parser->files) { + // AstFile *file = parser->files[file_index]; + // Tokenizer *tokenizer = &file->tokenizer; + // String fullpath = tokenizer->fullpath; + // gb_printf("%.*s\n", LIT(fullpath)); - for_array(decl_index, file->decls) { - AstNode *decl = file->decls[decl_index]; - print_declaration(decl); - } - } + // for_array(decl_index, file->decls) { + // AstNode *decl = file->decls[decl_index]; + // print_declaration(decl); + // } + // } } |