aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-24 15:00:01 +0100
committergingerBill <bill@gingerbill.org>2021-04-24 15:00:01 +0100
commitc29b643a58d3d31cae55a58a3efbbe2df5a111ad (patch)
tree4b6075e28a70d3ac8d6fa8946f4622a01ebe1b3b /src/parser.hpp
parentc9b82a21e9a52122a226ecc05c46a29dc8f57dac (diff)
Move out some intrinsics into separate procedures in llvm_backend.cpp; Rename `InlineRangeStmt` to `UnrollRangeStmt` (eventually merge the two AST nodes)
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index 1ff073f91..8c2eadb46 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -415,8 +415,8 @@ AST_KIND(_ComplexStmtBegin, "", bool) \
Ast *expr; \
Ast *body; \
}) \
- AST_KIND(InlineRangeStmt, "inline range statement", struct { \
- Token inline_token; \
+ AST_KIND(UnrollRangeStmt, "#unroll range statement", struct { \
+ Token unroll_token; \
Token for_token; \
Ast *val0; \
Ast *val1; \