diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2022-06-23 23:22:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-23 23:22:36 +0200 |
| commit | 3e7f6b87512dc149b25d2b7a81cb62e6a0b7ccc8 (patch) | |
| tree | c2b7ffcb39908050d513a17c860b4bb4e6093eae | |
| parent | eec9be71f643070091fe8dddb5072853f30acd18 (diff) | |
| parent | 6ffe814ca710572d07ecc3b40870ec8ed6ff9375 (diff) | |
Merge pull request #1857 from Pablo96/fix-core-lib-odin-parser-file-docs
Fix issue 1856
| -rw-r--r-- | core/odin/parser/parser.odin | 1 |
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) |