mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-17 08:21:25 -07:00
Begin work on matrix type
This commit is contained in:
@@ -407,6 +407,7 @@ AST_KIND(_ExprBegin, "", bool) \
|
||||
bool is_align_stack; \
|
||||
InlineAsmDialectKind dialect; \
|
||||
}) \
|
||||
AST_KIND(MatrixIndexExpr, "matrix index expression", struct { Ast *expr, *row_index, *column_index; Token open, close; }) \
|
||||
AST_KIND(_ExprEnd, "", bool) \
|
||||
AST_KIND(_StmtBegin, "", bool) \
|
||||
AST_KIND(BadStmt, "bad statement", struct { Token begin, end; }) \
|
||||
@@ -657,6 +658,12 @@ AST_KIND(_TypeBegin, "", bool) \
|
||||
Ast *key; \
|
||||
Ast *value; \
|
||||
}) \
|
||||
AST_KIND(MatrixType, "matrix type", struct { \
|
||||
Token token; \
|
||||
Ast *row_count; \
|
||||
Ast *column_count; \
|
||||
Ast *elem; \
|
||||
}) \
|
||||
AST_KIND(_TypeEnd, "", bool)
|
||||
|
||||
enum AstKind {
|
||||
|
||||
Reference in New Issue
Block a user