IPStack - Firewall cleanups and speedups (now shoudl at least work)
[tpg/acess2.git] / Usermode / Libraries / libspiderscript.so_src / tokens.h
index 8d041e9..44176b0 100644 (file)
@@ -5,6 +5,10 @@
 
 #include <setjmp.h>
 
+// Make the scope character ('.') be a symbol, otherwise it's just
+// a ident character
+#define USE_SCOPE_CHAR 1
+
 // === TYPES ===
 typedef struct
 {      
@@ -12,7 +16,7 @@ typedef struct
        const char      *BufStart;
        const char      *CurPos;
        
-       const char      *Filename;
+       char    *Filename;
        
         int    LastLine;
         int    LastToken, LastTokenLen;
@@ -63,6 +67,8 @@ enum eTokens
        TOK_RWD_DO,
        TOK_RWD_WHILE,
        TOK_RWD_FOR,
+       // - Value
+       TOK_RWD_NULL,
        // - Types
        TOK_RWD_VOID,
        TOK_RWD_OBJECT,
@@ -151,6 +157,7 @@ const char * const csaTOKEN_NAMES[] = {
        "TOK_RWD_WHILE",
        "TOK_RWD_FOR",
        
+       "TOK_RWD_NULL",
        "TOK_RWD_VOID",
        "TOK_RWD_OBJECT",
        "TOK_RWD_OPAUQE",

UCC git Repository :: git.ucc.asn.au