소스 검색

Remove `#force_inline for` and only have `#unroll for`

gingerBill 4 년 전
부모
커밋
4a69bfada1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/parser.cpp

+ 1 - 1
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'?");