Skip to content
Permalink
Browse files

Added not implemented exception for other cases as gen1 does not supp…

…ort these either

Fixed white space issue
  • Loading branch information
quajak committed Oct 20, 2019
1 parent baec7aa commit 76bee07da8dc76ae3ea429c21e0419a391c8657d
Showing with 2 additions and 1 deletion.
  1. +2 −1 source/XSharp/XSharp/Emitters/x86/AllEmitters.cs
@@ -70,6 +70,7 @@ protected void ConstDefinition(string aConstKeyword, string aConstName, string o
[Emitter(typeof(VarKeyword), typeof(Identifier), typeof(OpEquals), typeof(VariableAddress))]
protected void VariableDefinition(string aVarKeyword, string aVariableName, string oOpEquals, object aVariableValue)
{
throw new NotImplementedException();
}

[Emitter(typeof(VarKeyword), typeof(Identifier), typeof(OpEquals), typeof(Int32u))]
@@ -91,7 +92,7 @@ protected void VariableDefinition(string aVarKeyword, string aVariableName, stri
[Emitter(typeof(VarKeyword), typeof(Identifier))]
protected void VariableDefinition(string aVarKeyword, string aVariableName)
{
string xVariableName = Compiler.GetFullName(aVariableName);
string xVariableName = Compiler.GetFullName(aVariableName);
Compiler.WriteLine($"{xVariableName} dd 0");
}

0 comments on commit 76bee07

Please sign in to comment.
You can’t perform that action at this time.