From 58d4d424c6db749c10d723844ec5a847243bee39 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 15 Dec 2019 11:30:09 +0000 Subject: Replace `#vector[N]T` with `#simd[N]T` to reduce confusion #498 --- src/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index bf049f037..65b20ab83 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -1745,7 +1745,7 @@ Ast *parse_operand(AstFile *f, bool lhs) { } else if (name.string == "defined") { Ast *tag = ast_basic_directive(f, token, name.string); return parse_call_expr(f, tag); - } else if (name.string == "soa" || name.string == "vector") { + } else if (name.string == "soa" || name.string == "simd") { Ast *tag = ast_basic_directive(f, token, name.string); Ast *original_type = parse_type(f); Ast *type = unparen_expr(original_type); -- cgit v1.2.3