mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 05:08:14 +00:00
Update c++ codegen
This commit is contained in:
@@ -14,6 +14,7 @@ char const* desc_Ident = "identifier";
|
|||||||
struct Ident {
|
struct Ident {
|
||||||
Token token;
|
Token token;
|
||||||
Entity *entity;
|
Entity *entity;
|
||||||
|
u32 hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
char const* desc_Implicit = "implicit";
|
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;
|
typedef BasicType Basic;
|
||||||
|
|
||||||
struct Named {
|
typedef TypeNamed Named;
|
||||||
String name;
|
// struct Named {
|
||||||
Type *base;
|
// String name;
|
||||||
Entity *type_name; /* Entity_TypeName */
|
// Type *base;
|
||||||
};
|
// Entity *type_name; /* Entity_TypeName */
|
||||||
|
|
||||||
|
// BlockingMutex gen_types_data_mutex;
|
||||||
|
// GenTypesData *gen_types_data;
|
||||||
|
// };
|
||||||
|
|
||||||
struct Generic {
|
struct Generic {
|
||||||
i64 id;
|
i64 id;
|
||||||
|
|||||||
Reference in New Issue
Block a user