summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <smadurange@users.noreply.github.com>2021-12-12 16:51:26 +0800
committerSadeep Madurange <smadurange@users.noreply.github.com>2021-12-12 16:51:26 +0800
commit8943e228e20f892c73b1a9aa1a4f2d4ef7a36d86 (patch)
tree26c3e087041e4be76c909f10dabb71dba6f42cd9
parentf5bb34b2f4744aee7fbfd4b2b353dc550a916da0 (diff)
downloadk&r-exercises-8943e228e20f892c73b1a9aa1a4f2d4ef7a36d86.tar.gz
4.8
-rw-r--r--4/8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/4/8.c b/4/8.c
index 46b0b3f..355b29a 100644
--- a/4/8.c
+++ b/4/8.c
@@ -10,7 +10,7 @@
#define ASSIGNMENT '2' /* signal that a variable was found */
#define VARIABLE '3' /* signal that a variable was found */
#define MAXVAL 100 /* max depth of val and var stack */
-#define BUFSIZE 100
+#define BUFSIZE 1
#define VARCOUNT 52 /* supported variable count */
#define INDEX(x) (x <= 'Z' ? x - 'A' : x - 71) /* index of the variable */