summaryrefslogtreecommitdiff
path: root/uscript/parser.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-04-14 12:49:34 -0400
committeriamcheeseman <[email protected]>2026-04-14 12:49:34 -0400
commit348009ba1f724c163a9ea3360fc88bdf24f22d8b (patch)
tree4102935b735978ac531ec987cf6c9c996025ab36 /uscript/parser.c
parentcfa04f1cd06a7024aca7dba96f930ba130b0f9b4 (diff)
microscript: remove print statement
Diffstat (limited to 'uscript/parser.c')
-rw-r--r--uscript/parser.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/uscript/parser.c b/uscript/parser.c
index 89a8883..043249e 100644
--- a/uscript/parser.c
+++ b/uscript/parser.c
@@ -886,13 +886,6 @@ void stat(struct parser *p)
} else if (consume(p, TOKEN_RET)) {
ret_stat(p);
consume(p, ';');
- } else if (consume(p, TOKEN_PRINT)) {
- // temp. only til functions get functioning
- expect(p, '(', "expected '('");
- expr(p);
- expect(p, ')', "expected ')'");
- parser_add_byte(p, BC_PRINT);
- consume(p, ';');
} else {
expr_stat(p);
}