Renamed sunConstDefinition.

This commit is contained in:
arookas 2015-12-28 02:49:34 -05:00
parent d52ef38a89
commit af2255fbe5
2 changed files with 3 additions and 3 deletions

View file

@ -74,12 +74,12 @@
}
}
class sunConstDefinition : sunNode
class sunConstantDefinition : sunNode
{
public sunIdentifier Constant { get { return this[0] as sunIdentifier; } }
public sunExpression Expression { get { return this[2] as sunExpression; } }
public sunConstDefinition(sunSourceLocation location)
public sunConstantDefinition(sunSourceLocation location)
: base(location)
{

View file

@ -222,7 +222,7 @@ namespace arookas
// constants
switch (GetId(node))
{
case __sunConstants.CONST_DEFINITION: return new sunConstDefinition(location);
case __sunConstants.CONST_DEFINITION: return new sunConstantDefinition(location);
}
// flow control