mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +00:00
assign package docs to file docs
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user