Update c++ codegen
This commit is contained in:
1 parent
0a820a9f71
commit
44063a62fa
2 files changed
+10
-5
No files matched your search
@@ -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