ShellPkg: Fix "for" command statement initialization.
authorJaben Carsey <jaben.carsey@intel.com>
Tue, 17 Dec 2013 21:40:41 +0000 (21:40 +0000)
committerjcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 17 Dec 2013 21:40:41 +0000 (21:40 +0000)
commitc81863953f2aca16b2347e7e9977a06fcd1f13aa
treef685c1a904c6420d163f266e71ba6f96a2bf1d04
parent06f1982a6498731d9ef96a16b3fcd5937f317bd8
ShellPkg: Fix "for" command statement initialization.

The shell was failing to correctly parse up to the space only for “run (1 3)” and also losing the space for “in ” a b” c” for loop initialization.  This fixes for initialization to be correct.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14997 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellLevel1CommandsLib/For.c