assign package docs to file docs

This commit is contained in:
Pablo Narvaja
2022-06-23 18:13:34 -03:00
parent eec9be71f6
commit 6ffe814ca7

View File

@@ -183,6 +183,7 @@ parse_file :: proc(p: ^Parser, file: ^ast.File) -> bool {
pd.name = pkg_name.text
pd.comment = p.line_comment
p.file.pkg_decl = pd
p.file.docs = docs
expect_semicolon(p, pd)