xo-reader2 stack: expand symbol table to store typedefs
+ typedef utest + misc qol policy choices
This commit is contained in:
parent
74642dfcfa
commit
458fd04ca2
4 changed files with 10 additions and 2 deletions
|
|
@ -591,6 +591,8 @@ namespace xo {
|
|||
tk_type = tokentype::tk_type;
|
||||
} else if (tk_text == "def") {
|
||||
tk_type = tokentype::tk_def;
|
||||
} else if (tk_text == "deftype") {
|
||||
tk_type = tokentype::tk_deftype;
|
||||
} else if (tk_text == "lambda") {
|
||||
tk_type = tokentype::tk_lambda;
|
||||
} else if (tk_text == "if") {
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ namespace xo {
|
|||
|
||||
CASE(tk_type);
|
||||
CASE(tk_def);
|
||||
CASE(tk_deftype);
|
||||
CASE(tk_lambda);
|
||||
CASE(tk_if);
|
||||
CASE(tk_then);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue