Browse Source

Merge pull request #1337 from DanielGavin/parser-fix

Add Matrix_Type as literal type on "core:odin"
gingerBill 3 years ago
parent
commit
9f0a30e36e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/odin/parser/parser.odin

+ 1 - 0
core/odin/parser/parser.odin

@@ -2825,6 +2825,7 @@ is_literal_type :: proc(expr: ^ast.Expr) -> bool {
 		ast.Dynamic_Array_Type,
 		ast.Dynamic_Array_Type,
 		ast.Map_Type,
 		ast.Map_Type,
 		ast.Bit_Set_Type,
 		ast.Bit_Set_Type,
+		ast.Matrix_Type,
 		ast.Call_Expr:
 		ast.Call_Expr:
 		return true
 		return true
 	}
 	}