xo-interpreter2: + nil + cons
This commit is contained in:
parent
caa8e31d02
commit
6f95f38373
4 changed files with 8 additions and 0 deletions
|
|
@ -587,6 +587,8 @@ namespace xo {
|
|||
if ((tk_text == "true") || (tk_text == "false")) {
|
||||
tk_type = tokentype::tk_bool;
|
||||
keep_text = true;
|
||||
} else if (tk_text == "nil") {
|
||||
tk_type = tokentype::tk_nil;
|
||||
} else if (tk_text == "type") {
|
||||
tk_type = tokentype::tk_type;
|
||||
} else if (tk_text == "def") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue