Renamed sunConstDefinition.
This commit is contained in:
parent
d52ef38a89
commit
af2255fbe5
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue