diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2021-11-28 02:14:25 +0100 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2021-11-28 02:14:25 +0100 |
| commit | 517c8ff1dd069591e225c6dd047a7d866948131b (patch) | |
| tree | b365bf93fbbffa3dc939f9bef5c92480f9104f2c | |
| parent | 2b07afaf701a7a67f86ec907ea232a0b47ce082a (diff) | |
Include Matrix_Type to the `is_literal_type` switch statement.
| -rw-r--r-- | core/odin/parser/parser.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/odin/parser/parser.odin b/core/odin/parser/parser.odin index 7660005e0..b151d0188 100644 --- a/core/odin/parser/parser.odin +++ b/core/odin/parser/parser.odin @@ -2825,6 +2825,7 @@ is_literal_type :: proc(expr: ^ast.Expr) -> bool { ast.Dynamic_Array_Type, ast.Map_Type, ast.Bit_Set_Type, + ast.Matrix_Type, ast.Call_Expr: return true } |