summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
authorToby Goodwin <tjg@star.le.ac.uk>1999-01-11 10:55:18 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:09 +0100
commite11c7df86144bed383ac6bbeaecc3017d18b37db (patch)
tree6fad44921723eab2f2eb1c76b7214b4e79b818f3 /lex.c
parent671e1e2d1599aa8c5f1010b3fe75c151c56a7403 (diff)
beta: rc-1.5b4
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.,