1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

zsh-workers/10168

This commit is contained in:
Tanaka Akira 2000-03-23 03:54:48 +00:00
parent 9117370f0d
commit e205dee960

View file

@ -106,12 +106,16 @@ loop(int toplevel, int justonce)
for (;;) {
freeheap();
errflag = 0;
hbegin(1); /* init history mech */
if (isset(SHINSTDIN)) {
setblock_stdin();
if (interact)
if (interact) {
int hstop = stophist;
stophist = 3;
preprompt();
stophist = hstop;
}
}
hbegin(1); /* init history mech */
intr(); /* interrupts on */
lexinit(); /* initialize lexical state */
if (!(prog = parse_event())) { /* if we couldn't parse a list */