aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-12-15 11:30:09 +0000
committergingerBill <bill@gingerbill.org>2019-12-15 11:30:09 +0000
commit58d4d424c6db749c10d723844ec5a847243bee39 (patch)
tree4f89d391cc839313d5aec976448991d8b6662914 /src/parser.cpp
parent89ccb5b99f39cdb673435e37cea1f3db8a7224a6 (diff)
Replace `#vector[N]T` with `#simd[N]T` to reduce confusion #498
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp2
1 files changed, 1 insertions, 1 deletions
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);