diff options
Diffstat (limited to 'lls/lls.c')
-rw-r--r-- | lls/lls.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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; |