Home
last modified time | relevance | path

Searched refs:TOK_KEY_IF (Results 1 – 11 of 11) sorted by relevance

/dports/lang/gravity/gravity-0.8.5/src/compiler/
H A Dgravity_token.c35 case TOK_KEY_IF: return "if"; in token_name()
172 if (string_casencmp(buffer, "if", len) == 0) return TOK_KEY_IF; in token_keyword()
333 return ((token == TOK_KEY_IF) || (token == TOK_KEY_SWITCH)); in token_isflow_statement()
H A Dgravity_token.h69 TOK_KEY_FUNC, TOK_KEY_SUPER, TOK_KEY_DEFAULT, TOK_KEY_TRUE, TOK_KEY_FALSE, TOK_KEY_IF, enumerator
H A Dgravity_codegen.c545 assert((type == TOK_KEY_IF) || (type == TOK_KEY_SWITCH) || (type == TOK_OP_TERNARY)); in visit_flow_stmt()
547 if (type == TOK_KEY_IF) { in visit_flow_stmt()
H A Dgravity_parser.c2167 assert((type == TOK_KEY_IF) || (type == TOK_KEY_SWITCH)); in parse_flow_statement()
2181 if ((type == TOK_KEY_IF) && (gravity_lexer_peek(lexer) == TOK_KEY_ELSE)) { in parse_flow_statement()
H A Dgravity_semacheck2.c619 if (type == TOK_KEY_IF) { in visit_flow_stmt()
/dports/lang/nwcc/nwcc_0.8.3/
H A Dcontrol.c447 case TOK_KEY_IF: in parse_ctrl()
768 if (cont->type == TOK_KEY_IF) { in parse_ctrl()
891 if (curcont->type == TOK_KEY_IF in find_parent_statement()
974 if (ctrl->type == TOK_KEY_IF) { in complete_ctrl()
H A Dtoken.h251 #define TOK_KEY_IF 168 macro
H A Ddefs.c120 { "if", TOK_KEY_IF, 0, C89 },
H A Dicode.c1938 && (purpose == TOK_KEY_IF in do_assign()
3203 if (purpose != TOK_KEY_IF || level != 1) { in expr_to_icode()
3246 if (purpose == TOK_KEY_IF && level == 1) { in expr_to_icode()
3282 dummy.type = TOK_KEY_IF; in expr_to_icode()
3618 if ((res = expr_to_icode(cond, NULL, il, TOK_KEY_IF, 0, 1)) == NULL) { in do_cond()
3659 if (ctrl->type == TOK_KEY_IF in do_cond()
4227 if (ctrl->type == TOK_KEY_IF) { in ctrl_to_icode()
5235 } else if (ctrl->type == TOK_KEY_IF) { in xlate_func_to_icode()
/dports/lang/nwcc/nwcc_0.8.3/cpp/
H A Dtoken.h249 #define TOK_KEY_IF 168 macro
H A Ddefs.c122 { "if", TOK_KEY_IF, 0, C89 },