From 4a69bfada164e50e71db0043782498b0a27f7040 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 25 Feb 2021 09:55:48 +0000 Subject: [PATCH] Remove `#force_inline for` and only have `#unroll for` --- src/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'?");