summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lex.c b/lex.c
index a763ce4..7e35cdd 100644
--- a/lex.c
+++ b/lex.c
@@ -1,7 +1,7 @@
/* lex.c: rc's lexical analyzer */
#include "rc.h"
-#include "y.tab.h"
+#include "parse.h"
/*
Special characters (i.e., "non-word") in rc:
@@ -336,16 +336,6 @@ extern void inityy() {
realbuf = ealloc(bufsize);
}
-extern void print_prompt2() {
- lineno++;
-#if READLINE
- prompt = prompt2;
-#else
- if (interactive)
- fprint(2, "%s", prompt2);
-#endif
-}
-
/*
Scan in a pair of integers for redirections like >[2=1]. CLOSED represents a closed file
descriptor (i.e., >[2=]) and UNSET represents an undesignated file descriptor (e.g.,