Browse Source

Merge pull request #1857 from Pablo96/fix-core-lib-odin-parser-file-docs

Fix issue 1856
Jeroen van Rijn 3 years ago
parent
commit
3e7f6b8751
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/odin/parser/parser.odin

+ 1 - 0
core/odin/parser/parser.odin

@@ -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)