Simply code

This commit is contained in:
George Fleming
2016-02-23 15:23:12 -08:00
parent e92c1e80cc
commit 6776a909b2
+1 -20
View File
@@ -177,11 +177,6 @@ OPTIONS
/// </summary>
private string partialLine = string.Empty;
/// <summary>
/// To keep track of here-strings
/// </summary>
private bool hereString = false;
/// <summary>
/// Gets or sets a value indicating whether the host application
/// should exit.
@@ -399,21 +394,8 @@ OPTIONS
cmd = cmd.Trim();
partialLine += cmd;
if (hereString || cmd.EndsWith("@\"") || cmd.EndsWith("@\'"))
{
hereString = true;
partialLine += System.Environment.NewLine;
partialLine += System.Environment.NewLine;
}
else
{
while (partialLine[partialLine.Length - 1] == '`')
{
partialLine = partialLine.Remove(partialLine.Length - 1);
}
partialLine += " ";
}
}
finally
@@ -430,7 +412,6 @@ OPTIONS
if (!incompleteLine)
{
partialLine = string.Empty;
hereString = false;
}
}
}