aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-01-03 12:21:11 +0000
committergingerBill <bill@gingerbill.org>2019-01-03 12:21:11 +0000
commit5bfe5ad82e7236bd805f888934f5bdc3e768050b (patch)
tree287530d59ee18b3260869363ccaf3be03929cf69 /src/parser.cpp
parentdd28fe6e82cca59ad5104275ffbbfa2e7d5fd33a (diff)
Remove unused directive
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) {