One more time. Multi-line expressions when there is no valid expression that follow “expr [options] —“.

llvm-svn: 203874
This commit is contained in:
Greg Clayton
2014-03-13 23:48:40 +00:00
parent 487143fdd3
commit 05da458caf

View File

@@ -484,7 +484,7 @@ CommandObjectExpression::DoExecute
}
// No expression following options
if (expr && expr[0] == '\0')
if (expr == NULL || expr[0] == '\0')
{
GetMultilineExpression ();
return result.Succeeded();