From 2e8d1cd37c0fea4bc18164f39a58cd704649f52c Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 12 Dec 2021 12:38:21 +0800 Subject: 4.6 --- 4/6.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '4/6.c') diff --git a/4/6.c b/4/6.c index 55d5b76..e1952ef 100644 --- a/4/6.c +++ b/4/6.c @@ -11,10 +11,8 @@ #define VARIABLE '3' /* signal that a variable was found */ #define MAXVAL 100 /* max depth of val and var stack */ #define BUFSIZE 100 -#define VARCOUNT 52 /* supported variable count */ -#define LPRINT "lout" /* variable for most recently printed val */ - -#define INDEX(x) (x <= 'Z' ? x - 'A' : x - 71) +#define VARCOUNT 52 /* supported variable count */ +#define INDEX(x) (x <= 'Z' ? x - 'A' : x - 71) /* index of the variable */ int sp = 0; /* next free stack position */ double val[MAXVAL]; /* value stack */ -- cgit v1.2.3