From 862c485d46f3f8e992a9ca9fea40fb33f0b43959 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 15 Nov 2012 20:59:11 +0000 Subject: Dictionaries are implemented now. Everything tests out against python. The next step is the packet stream interface. --- cs-dotnet/src/gatsobject.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'cs-dotnet/src/gatsobject.cs') diff --git a/cs-dotnet/src/gatsobject.cs b/cs-dotnet/src/gatsobject.cs index 5e76a6c..792db6a 100644 --- a/cs-dotnet/src/gatsobject.cs +++ b/cs-dotnet/src/gatsobject.cs @@ -13,37 +13,37 @@ namespace Com.Xagasoft.Gats if( b == -1 ) throw new GatsException( GatsException.Type.PrematureEnd ); char type = (char)b; - GatsObject goRet = null; + GatsObject ret = null; switch( type ) { case 'i': - goRet = new GatsInteger(); + ret = new GatsInteger(); break; case 's': - goRet = new GatsString(); + ret = new GatsString(); break; case '0': case '1': - goRet = new GatsBoolean(); + ret = new GatsBoolean(); break; case 'l': - goRet = new GatsList(); + ret = new GatsList(); break; case 'd': -// goRet = new GatsDictionary(); + ret = new GatsDictionary(); break; case 'f': case 'F': - goRet = new GatsFloat(); + ret = new GatsFloat(); break; case 'n': - goRet = new GatsNull(); + ret = new GatsNull(); break; case 'e': @@ -53,9 +53,9 @@ namespace Com.Xagasoft.Gats throw new GatsException( GatsException.Type.InvalidType ); } - goRet.Read( s, type ); + ret.Read( s, type ); - return goRet; + return ret; } } } -- cgit v1.2.3