summaryrefslogtreecommitdiff
path: root/lls/lls.c
diff options
context:
space:
mode:
Diffstat (limited to 'lls/lls.c')
-rw-r--r--lls/lls.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/lls/lls.c b/lls/lls.c
index 81d54a7..8599cfd 100644
--- a/lls/lls.c
+++ b/lls/lls.c
@@ -5,10 +5,11 @@ enum
{
VT_UNKNOWN = 0,
VT_NULL, // null | |
- VT_NUMBER, // number | float |
+ VT_REAL, // real | float |
VT_STRING, // string | char* |
VT_BOOLEAN, // boolean | char |
- VT_SET, // set | struct |
+ VT_SET, // set | void* |
+ VT_ARRAY, // array | void* |
VT_FUNCTION, // function | void* | ڴͬĺ
};
@@ -17,10 +18,12 @@ typedef struct
int type;
union
{
- float _number;
+ float _real;
char* _string;
char _bool;
- void* _struct;
+ void* _set;
+ void* _array;
+ int _func;
} value;
} lls_Value;