aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-25 09:55:48 +0000
committergingerBill <bill@gingerbill.org>2021-02-25 09:55:48 +0000
commit4a69bfada164e50e71db0043782498b0a27f7040 (patch)
tree0a62cb246205ec8f065447dc9b82c97f1c25f0ba /src/parser.cpp
parent2d88c6c6a552563634aba23e35b6578f6230ad87 (diff)
Remove `#force_inline for` and only have `#unroll for`
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 9e5055f73..45a80661d 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -4398,7 +4398,7 @@ Ast *parse_stmt(AstFile *f) {
} else if (tag == "panic") {
Ast *t = ast_basic_directive(f, hash_token, tag);
return ast_expr_stmt(f, parse_call_expr(f, t));
- } else if (tag == "unroll" || tag == "force_inline") {
+ } else if (tag == "unroll") {
return parse_unrolled_for_loop(f, name);
} else if (tag == "include") {
syntax_error(token, "#include is not a valid import declaration kind. Did you mean 'import'?");