Browse Source

Update odin/parser

gingerBill 4 years ago
parent
commit
657c0ac4f5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/odin/parser/parser.odin

+ 2 - 0
core/odin/parser/parser.odin

@@ -2186,6 +2186,8 @@ parse_operand :: proc(p: ^Parser, lhs: bool) -> ^ast.Expr {
 			rt.type = type;
 			return rt;
 
+		case "force_inline", "force_no_inline":
+			return parse_inlining_operand(p, lhs, tok);
 		case:
 			expr := parse_expr(p, lhs);
 			te := ast.new(ast.Tag_Expr, tok.pos, expr.pos);