From 8569af05d8111654f1839f1cf50175a32b0bc547 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Wed, 10 Jan 2024 21:50:03 -0800 Subject: add shit --- src/builtins.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/builtins.c') diff --git a/src/builtins.c b/src/builtins.c index eb4b521..5c42516 100644 --- a/src/builtins.c +++ b/src/builtins.c @@ -8,6 +8,7 @@ #include #include +/* macros taken from stackoverflow */ #define MAX 1000 #define JUSTDO(a) \ if (!(a)) { \ @@ -18,7 +19,6 @@ extern array_t *STACK; extern array_t *EVAL_STACK; extern ht_t *WORD_TABLE; -extern char *INBUF; extern parser_t *PARSER; extern ht_t *FLIT; @@ -28,6 +28,7 @@ extern ht_t *OBJ_TABLE; * (for quotes), split (split array, string, word into two), del (deleting * entries from quotes, strings, words) */ +/* taken from stackoverflow */ char *get_line(FILE *f) { int len = MAX; char buf[MAX], *e = NULL, *ret; -- cgit