mirror of
https://github.com/odin-lang/Odin.git
synced 2026-05-14 08:16:55 +00:00
Basic odin doc support
This commit is contained in:
@@ -3115,6 +3115,7 @@ void check_collect_value_decl(CheckerContext *c, Ast *decl) {
|
||||
|
||||
Ast *init_expr = value;
|
||||
DeclInfo *d = make_decl_info(c->scope, c->decl);
|
||||
d->decl_node = decl;
|
||||
d->entity = e;
|
||||
d->type_expr = vd->type;
|
||||
d->init_expr = init_expr;
|
||||
@@ -3142,9 +3143,10 @@ void check_collect_value_decl(CheckerContext *c, Ast *decl) {
|
||||
Token token = name->Ident.token;
|
||||
|
||||
Ast *fl = c->foreign_context.curr_library;
|
||||
DeclInfo *d = make_decl_info(c->scope, c->decl);
|
||||
Entity *e = nullptr;
|
||||
DeclInfo *d = make_decl_info(c->scope, c->decl);
|
||||
|
||||
d->decl_node = decl;
|
||||
d->attributes = vd->attributes;
|
||||
d->type_expr = vd->type;
|
||||
d->init_expr = init;
|
||||
|
||||
Reference in New Issue
Block a user