aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 0f69ba56b..9115cf0e6 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -1677,14 +1677,6 @@ Ast *parse_operand(AstFile *f, bool lhs) {
Token name = expect_token(f, Token_Ident);
if (name.string == "type") {
return ast_helper_type(f, token, parse_type(f));
- } else if (name.string == "run") {
- Ast *expr = parse_expr(f, false);
- operand = ast_run_expr(f, token, name, expr);
- if (unparen_expr(expr)->kind != Ast_CallExpr) {
- syntax_error(expr, "#run can only be applied to procedure calls");
- operand = ast_bad_expr(f, token, f->curr_token);
- }
- warning(token, "#run is not yet implemented");
} /* else if (name.string == "no_deferred") {
operand = parse_expr(f, false);
if (unparen_expr(operand)->kind != Ast_CallExpr) {