Minor tweaks
This commit is contained in:
parent
7beeb713c9
commit
ca49866c66
|
@ -14,16 +14,9 @@ namespace Ycicle
|
||||||
{
|
{
|
||||||
Console.Write("» ");
|
Console.Write("» ");
|
||||||
var input = Console.ReadLine();
|
var input = Console.ReadLine();
|
||||||
switch (input)
|
if (input == "exit") return;
|
||||||
{
|
|
||||||
case "exit":
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (script == null)
|
script = script == null ? new Script(input) : Script.ContinueWith(script, input);
|
||||||
script = new Script(input);
|
|
||||||
else
|
|
||||||
script = Script.ContinueWith(script, input);
|
|
||||||
|
|
||||||
if (script.Diagnostics.Messages.Count > 0)
|
if (script.Diagnostics.Messages.Count > 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\UpsilonCompiler\UpsilonCompiler.csproj" />
|
|
||||||
<ProjectReference Include="..\Upsilon\Upsilon.csproj" />
|
<ProjectReference Include="..\Upsilon\Upsilon.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue