mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
Update c++ codegen
This commit is contained in:
@@ -14,6 +14,7 @@ char const* desc_Ident = "identifier";
|
||||
struct Ident {
|
||||
Token token;
|
||||
Entity *entity;
|
||||
u32 hash;
|
||||
};
|
||||
|
||||
char const* desc_Implicit = "implicit";
|
||||
|
||||
@@ -5,11 +5,15 @@ These are not to be used directly. They are parsed by gen_src.cpp
|
||||
|
||||
typedef BasicType Basic;
|
||||
|
||||
struct Named {
|
||||
String name;
|
||||
Type *base;
|
||||
Entity *type_name; /* Entity_TypeName */
|
||||
};
|
||||
typedef TypeNamed Named;
|
||||
// struct Named {
|
||||
// String name;
|
||||
// Type *base;
|
||||
// Entity *type_name; /* Entity_TypeName */
|
||||
|
||||
// BlockingMutex gen_types_data_mutex;
|
||||
// GenTypesData *gen_types_data;
|
||||
// };
|
||||
|
||||
struct Generic {
|
||||
i64 id;
|
||||
|
||||
Reference in New Issue
Block a user