aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/rc/rc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/rc/rc.h')
-rw-r--r--src/cmd/rc/rc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/cmd/rc/rc.h b/src/cmd/rc/rc.h
index f5c8a6d..f52e4e2 100644
--- a/src/cmd/rc/rc.h
+++ b/src/cmd/rc/rc.h
@@ -157,7 +157,10 @@ struct Shell
int pid;
Io *err;
int status;
- int interactive;
+ struct{
+ int interactive;
+ int noerror;
+ }; /* flags */
Thread *jobs;
};
@@ -187,7 +190,7 @@ int addhistory(char *);
/* prompt.c */
void resetprompt(void);
-int prompt(ushort *);
+int prompt(void);
/* io.c */
Io *openfd(int fd);
@@ -205,6 +208,7 @@ void printchar(Io *, int);
/* lex.c */
int yylex(void);
void yyerror(const char *msg);
+void initlexer(int);
void readhere(void);
Tree *heredoc(Tree *);