corrected implementation of unary operators
This commit is contained in:
parent
202c1d2ca2
commit
07079366b8
6 changed files with 156 additions and 117 deletions
|
|
@ -7,7 +7,7 @@ namespace Compiler.Parser.Nodes
|
|||
|
||||
public ConstantNode(int value)
|
||||
{
|
||||
this.NodeType = NodeType.ExpressionNode;
|
||||
this.NodeType = NodeType.ConstantNode;
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue