From d167290b280c2dfcb764ff1e8f48df975444962d Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Thu, 29 Jun 2017 12:11:50 +0100 Subject: Make `AstNodeIdent` a struct wrapping its `Token` --- src/ir_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir_print.cpp') 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); -- cgit v1.2.3