From ab400c0be5577cab2a66d242183887ebbd61717f Mon Sep 17 00:00:00 2001 From: Nicholas Date: Wed, 17 Nov 2021 08:22:03 -0800 Subject: checkin --- src/cmd/rc/rc.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/cmd/rc/rc.h') 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 *); -- cgit v1.2.1