aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2022-06-23 23:22:36 +0200
committerGitHub <noreply@github.com>2022-06-23 23:22:36 +0200
commit3e7f6b87512dc149b25d2b7a81cb62e6a0b7ccc8 (patch)
treec2b7ffcb39908050d513a17c860b4bb4e6093eae
parenteec9be71f643070091fe8dddb5072853f30acd18 (diff)
parent6ffe814ca710572d07ecc3b40870ec8ed6ff9375 (diff)
Merge pull request #1857 from Pablo96/fix-core-lib-odin-parser-file-docs
Fix issue 1856
-rw-r--r--core/odin/parser/parser.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/odin/parser/parser.odin b/core/odin/parser/parser.odin
index 25eda6bed..52ecb4781 100644
--- a/core/odin/parser/parser.odin
+++ b/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)