Minor tweaks

This commit is contained in:
Deukhoofd 2018-11-17 15:18:51 +01:00
parent 7beeb713c9
commit ca49866c66
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
2 changed files with 2 additions and 10 deletions

View File

@ -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)
{ {

View File

@ -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>