Don't allow "||" or "&&" to be the first tokens of a command.

PR:		40386
MFC after:	2 weeks
This commit is contained in:
Tim J. Robbins 2002-07-22 05:50:12 +00:00
parent c4232ceae7
commit 776600e6de

View File

@ -486,6 +486,7 @@ TRACE(("expecting DO got %s %s\n", tokname[got], got == TWORD ? wordtext : ""));
synexpect(-1);
case TAND:
case TOR:
synexpect(-1);
case TNL:
case TEOF:
case TWORD: