diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-08-16 20:24:41 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2013-08-16 20:24:41 +0000 |
commit | 9bb8ccd6425db3ff2d2bb39030999e398169f7ae (patch) | |
tree | 1876bd2ebffa9c169c9ddafa54a21b130539fead /bin/sh/parser.c | |
parent | 65f63c73cb2b44bb378f46875acef64ba14bf865 (diff) | |
download | src-9bb8ccd6425db3ff2d2bb39030999e398169f7ae.tar.gz src-9bb8ccd6425db3ff2d2bb39030999e398169f7ae.zip |
Notes
Diffstat (limited to 'bin/sh/parser.c')
-rw-r--r-- | bin/sh/parser.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/sh/parser.c b/bin/sh/parser.c index ec15f587e34a..a350b8b60ecf 100644 --- a/bin/sh/parser.c +++ b/bin/sh/parser.c @@ -210,6 +210,7 @@ parsecmd(int interact) heredoclist = NULL; tokpushback = 0; + checkkwd = 0; doprompt = interact; if (doprompt) setprompt(1); @@ -1822,14 +1823,6 @@ parsearith: { } /* end of readtoken */ -void -resetparser(void) -{ - tokpushback = 0; - checkkwd = 0; -} - - /* * Returns true if the text contains nothing to expand (no dollar signs * or backquotes). |