aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-08-19 01:43:25 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2021-08-19 01:43:25 +0200
commit71357a0537a043205e873a26aaafb04b60f5a3dc (patch)
tree086c7adc5bb5362c95edb7e1bd1c680e12d81203 /src
parent0f18a09ea4d411e93d3310811bd5c67ab00ae7a2 (diff)
typo
Diffstat (limited to 'src')
-rw-r--r--src/index/collector.odin8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/index/collector.odin b/src/index/collector.odin
index 652ef6a..747ae83 100644
--- a/src/index/collector.odin
+++ b/src/index/collector.odin
@@ -118,7 +118,7 @@ collect_struct_fields :: proc(collection: ^SymbolCollection, struct_type: ast.St
names = names[:],
types = types[:],
usings = usings,
- struct_name = get_index_unique_string(collection, ident.name),
+ struct_name = get_index_unique_string(collection, ident),
};
return value;
@@ -143,7 +143,7 @@ collect_enum_fields :: proc(collection: ^SymbolCollection, fields: []^ast.Expr,
value := SymbolEnumValue {
names = names[:],
- enum_name = get_index_unique_string(collection, ident.name),
+ enum_name = get_index_unique_string(collection, ident),
};
return value;
@@ -174,7 +174,7 @@ collect_union_fields :: proc(collection: ^SymbolCollection, union_type: ast.Unio
value := SymbolUnionValue {
names = names[:],
types = types[:],
- union_name = get_index_unique_string(collection, ident.name),
+ union_name = get_index_unique_string(collection, ident),
};
return value;
@@ -187,7 +187,7 @@ collect_bitset_field :: proc(collection: ^SymbolCollection, bitset_type: ast.Bit
return SymbolBitSetValue {
expr = cloned,
- bitset_name = get_index_unique_string(collection, ident.name),
+ bitset_name = get_index_unique_string(collection, ident),
};
}