diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/ast.odin | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/server/ast.odin b/src/server/ast.odin index 28591f0..7c0921c 100644 --- a/src/server/ast.odin +++ b/src/server/ast.odin @@ -540,12 +540,6 @@ get_doc :: proc(node: ^ast.Expr, comment: ^ast.Comment_Group, allocator: mem.All return "" } - // The odin parser currently incorrectly adds comments that are more than a line above - // the symbol as a doc comment. We do a quick check here to handle that specific case. - if node != nil && comment.list[len(comment.list) - 1].pos.line < node.pos.line - 1 { - return "" - } - tmp: string for doc in comment.list { |