diff options
| author | Ginger Bill <bill@gingerbill.org> | 2017-06-29 12:11:50 +0100 |
|---|---|---|
| committer | Ginger Bill <bill@gingerbill.org> | 2017-06-29 12:11:50 +0100 |
| commit | d167290b280c2dfcb764ff1e8f48df975444962d (patch) | |
| tree | bdf9d5576b36569c2b79de345c4a5ec5b5316c4d /src/ir_print.cpp | |
| parent | f4879d472360984f2868c406be96a4f3b473bfa4 (diff) | |
Make `AstNodeIdent` a struct wrapping its `Token`
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 72e4a045b..b9bccc91c 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -594,7 +594,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type * isize elem_count = cl->elems.count; for (isize i = 0; i < elem_count; i++) { ast_node(fv, FieldValue, cl->elems[i]); - String name = fv->field->Ident.string; + String name = fv->field->Ident.token.string; TypeAndValue tav = type_and_value_of_expr(m->info, fv->value); GB_ASSERT(tav.mode != Addressing_Invalid); |