diff options
Diffstat (limited to '')
-rw-r--r-- | java/com/xagasoft/gats/GatsObject.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/xagasoft/gats/GatsObject.java b/java/com/xagasoft/gats/GatsObject.java index 47602b3..e26ab7b 100644 --- a/java/com/xagasoft/gats/GatsObject.java +++ b/java/com/xagasoft/gats/GatsObject.java | |||
@@ -18,6 +18,7 @@ public abstract class GatsObject | |||
18 | public final static int LIST = 4; | 18 | public final static int LIST = 4; |
19 | public final static int DICTIONARY = 5; | 19 | public final static int DICTIONARY = 5; |
20 | public final static int BOOLEAN = 6; | 20 | public final static int BOOLEAN = 6; |
21 | public final static int NULL = 7; | ||
21 | 22 | ||
22 | /** | 23 | /** |
23 | * Gets the type of the current object, type can be one of INTEGER, FLOAT, | 24 | * Gets the type of the current object, type can be one of INTEGER, FLOAT, |
@@ -74,6 +75,10 @@ public abstract class GatsObject | |||
74 | goRet = new GatsFloat(); | 75 | goRet = new GatsFloat(); |
75 | break; | 76 | break; |
76 | 77 | ||
78 | case 'n': | ||
79 | goRet = new GatsNull(); | ||
80 | break; | ||
81 | |||
77 | case 'e': | 82 | case 'e': |
78 | return null; | 83 | return null; |
79 | 84 | ||