Clang format + meta fix
This commit is contained in:
@@ -59,9 +59,9 @@ struct List {
|
||||
enum Token_Kind {
|
||||
TK_End,
|
||||
/*#
|
||||
import meta
|
||||
for i in meta.token_kinds:
|
||||
print(" TK_" + i[0] + ",")
|
||||
import meta
|
||||
for i in meta.token_kinds:
|
||||
print(" TK_" + i[0] + ",")
|
||||
*/
|
||||
TK_Mul,
|
||||
TK_Div,
|
||||
@@ -227,7 +227,7 @@ enum Ast_Type_Kind {
|
||||
|
||||
struct Value {
|
||||
/*#import meta
|
||||
print(meta.value_struct_content)
|
||||
print(meta.value_struct_content)
|
||||
*/
|
||||
Ast_Type *type;
|
||||
Ast_Decl *resolved_decl;
|
||||
@@ -246,7 +246,7 @@ struct Ast_Resolved_Member {
|
||||
int32_t offset;
|
||||
bool visited;
|
||||
/*#import meta
|
||||
meta.inline_value_fields()
|
||||
meta.inline_value_fields()
|
||||
*/
|
||||
union {
|
||||
Value value;
|
||||
@@ -390,7 +390,7 @@ struct Ast_Atom : Ast_Expr {
|
||||
// can be use during code generation
|
||||
// it cannot be untyped. (or at least thats the hope :)
|
||||
/*#import meta
|
||||
meta.inline_value_fields()
|
||||
meta.inline_value_fields()
|
||||
*/
|
||||
union {
|
||||
Value value;
|
||||
@@ -606,7 +606,7 @@ struct Ast_Decl : Ast {
|
||||
};
|
||||
|
||||
/*#import meta
|
||||
meta.inline_value_fields()
|
||||
meta.inline_value_fields()
|
||||
*/
|
||||
union {
|
||||
Value value;
|
||||
|
||||
Reference in New Issue
Block a user