Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(token_kind == KEYWORD)
- {
- object Statement_Parse_1 stmnt;
- assert((token_text.Is_Equal_To("IF") or token_text.Is_Equal_To("WHILE")), "Expected IF or WHILE");
- if (token_text.Is_Equal_To("IF"))
- {
- Parse_IF_Statement(str, m, token_text, token_kind, stmnt);
- self &= stmnt;
- }
- else if (token_text.Is_Equal_To("WHILE"))
- {
- Parse_WHILE_Statement(str, m, token_text, token_kind, stmnt);
- self &= stmnt;
- }
- }
- else
- {
- debug("tt cp: " << token_text);
- assert(token_kind == IDENTIFIER, "Expected IDENTIFIER");
- self.Compose_Call(token_text);
- }
- //Grab the next token
- m.Get_Next_Non_Separator_Token(str, token_text, token_kind);
Add Comment
Please, Sign In to add comment