From aa614390959491e961cfbf4c143eb421706641cd Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 28 Dec 2015 02:50:06 -0500 Subject: [PATCH] Renamed sunVariableAssignment. --- ssc/ast/nodes.variables.cs | 4 ++-- ssc/parser.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ssc/ast/nodes.variables.cs b/ssc/ast/nodes.variables.cs index 8eb606a..feff544 100644 --- a/ssc/ast/nodes.variables.cs +++ b/ssc/ast/nodes.variables.cs @@ -51,13 +51,13 @@ } } - class sunVariableAssignment : sunNode + class sunStorableAssignment : sunNode { public sunIdentifier Storable { 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 sunVariableAssignment(sunSourceLocation location) + public sunStorableAssignment(sunSourceLocation location) : base(location) { diff --git a/ssc/parser.cs b/ssc/parser.cs index ad6f947..b9ec04a 100644 --- a/ssc/parser.cs +++ b/ssc/parser.cs @@ -215,7 +215,7 @@ namespace arookas case __sunConstants.VARIABLE_REFERENCE: return new sunStorableReference(location); case __sunConstants.VARIABLE_DECLARATION: return new sunVariableDeclaration(location); case __sunConstants.VARIABLE_DEFINITION: return new sunVariableDefinition(location); - case __sunConstants.VARIABLE_ASSIGNMENT: return new sunVariableAssignment(location); + case __sunConstants.VARIABLE_ASSIGNMENT: return new sunStorableAssignment(location); case __sunConstants.VARIABLE_AUGMENT: return new sunNode(location); }