Fixed: incorrect indices

This commit is contained in:
arookas 2016-02-01 05:03:02 -05:00
parent 3e0a2dc403
commit ec2162f752

View file

@ -55,9 +55,9 @@
}
class sunStorableAssignment : sunNode {
public sunIdentifier Name { get { return this[1] as sunIdentifier; } }
public sunAssign Operator { get { return this[2] as sunAssign; } }
public sunExpression Expression { get { return this[3] as sunExpression; } }
public sunIdentifier Name { get { return this[0] as sunIdentifier; } }
public sunAssign Operator { get { return this[1] as sunAssign; } }
public sunExpression Expression { get { return this[2] as sunExpression; } }
public sunStorableAssignment(sunSourceLocation location)
: base(location) { }