Add support for the return keyword.
This commit is contained in:
@@ -64,6 +64,7 @@ enum libab_lexer_token_e {
|
||||
TOKEN_KW_DO,
|
||||
TOKEN_KW_ARROW,
|
||||
TOKEN_KW_FUN,
|
||||
TOKEN_KW_RETURN,
|
||||
TOKEN_LAST
|
||||
};
|
||||
|
||||
|
||||
@@ -22,7 +22,8 @@ enum libab_tree_variant_e {
|
||||
TREE_DOWHILE,
|
||||
TREE_CALL,
|
||||
TREE_FUN,
|
||||
TREE_FUN_PARAM
|
||||
TREE_FUN_PARAM,
|
||||
TREE_RETURN
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user