git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/ld-acess - Fixing Elf64 support (and incorrect Uint* sizes)
[tpg/acess2.git]
/
Usermode
/
Libraries
/
libspiderscript.so_src
/
tokens.h
diff --git
a/Usermode/Libraries/libspiderscript.so_src/tokens.h
b/Usermode/Libraries/libspiderscript.so_src/tokens.h
index
8d041e9
..
44176b0
100644
(file)
--- a/
Usermode/Libraries/libspiderscript.so_src/tokens.h
+++ b/
Usermode/Libraries/libspiderscript.so_src/tokens.h
@@
-5,6
+5,10
@@
#include <setjmp.h>
#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
{
// === TYPES ===
typedef struct
{
@@
-12,7
+16,7
@@
typedef struct
const char *BufStart;
const char *CurPos;
const char *BufStart;
const char *CurPos;
- c
onst char
*Filename;
+ c
har
*Filename;
int LastLine;
int LastToken, LastTokenLen;
int LastLine;
int LastToken, LastTokenLen;
@@
-63,6
+67,8
@@
enum eTokens
TOK_RWD_DO,
TOK_RWD_WHILE,
TOK_RWD_FOR,
TOK_RWD_DO,
TOK_RWD_WHILE,
TOK_RWD_FOR,
+ // - Value
+ TOK_RWD_NULL,
// - Types
TOK_RWD_VOID,
TOK_RWD_OBJECT,
// - Types
TOK_RWD_VOID,
TOK_RWD_OBJECT,
@@
-151,6
+157,7
@@
const char * const csaTOKEN_NAMES[] = {
"TOK_RWD_WHILE",
"TOK_RWD_FOR",
"TOK_RWD_WHILE",
"TOK_RWD_FOR",
+ "TOK_RWD_NULL",
"TOK_RWD_VOID",
"TOK_RWD_OBJECT",
"TOK_RWD_OPAUQE",
"TOK_RWD_VOID",
"TOK_RWD_OBJECT",
"TOK_RWD_OPAUQE",
UCC
git Repository :: git.ucc.asn.au