summaryrefslogtreecommitdiffstats
path: root/4
diff options
context:
space:
mode:
Diffstat (limited to '4')
-rw-r--r--4/6.c6
1 files changed, 2 insertions, 4 deletions
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 */