mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
One more time. Multi-line expressions when there is no valid expression that follow “expr [options] —“.
llvm-svn: 203874
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user