diff --git a/ssc/ast/nodes.variables.cs b/ssc/ast/nodes.variables.cs index edce231..59a461e 100644 --- a/ssc/ast/nodes.variables.cs +++ b/ssc/ast/nodes.variables.cs @@ -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) { }