diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-17 08:22:03 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-17 08:22:03 -0800 |
commit | ab400c0be5577cab2a66d242183887ebbd61717f (patch) | |
tree | f0391a4eab4d84c43692d4113076ea466568dcbd /src/cmd/rc/rc.h | |
parent | 09c0a372823446d4559fc971d9a6128c89420b75 (diff) |
checkin
Diffstat (limited to 'src/cmd/rc/rc.h')
-rw-r--r-- | src/cmd/rc/rc.h | 8 |
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 *); |