aboutsummaryrefslogtreecommitdiffstats
path: root/forth.c
diff options
context:
space:
mode:
Diffstat (limited to 'forth.c')
-rw-r--r--forth.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/forth.c b/forth.c
index e9f7637..0b4a99f 100644
--- a/forth.c
+++ b/forth.c
@@ -27,13 +27,6 @@ char isnumber(char *text) {
void eval(stack* s, int len, char* line);
void exec(stack *s, char *word) {
- if (!strcmp(word, "pop") || !strcmp(word, ".")) {
- printf("%d\n", pop(s));
- return;
- } else if (!strcmp(word, "peek")) {
- printf("%d\n", peek(s));
- return;
- }
wordop* op = getop(word);
if (op) {
if (op->isscript) {