asm/asm.c
static bool is_register(struct Token *token) {
    char symbol[256];

    if (token->kind != TK_SYMBOL) {
        return false;
    }

    assert(token_data(token, symbol, sizeof(symbol)));
    return strcasetab(R_NAMES, R_COUNT, symbol) != (usize) -1;
}
// returns true if token is a symbol and register
returns true if token is a symbol and register
returns true if token is a symbol and register
static bool is_register(struct Token *token) {
    char symbol[256];
    if (token->kind != TK_SYMBOL) {
        return false;
    }
    assert(token_data(token, symbol, sizeof(symbol)));
    return strcasetab(R_NAMES, R_COUNT, symbol) != (usize) -1;
}
static bool is_register ( struct Token * token ) { char symbol [ 256 ] ; if ( token -> kind != TK_SYMBOL ) { return false ; } assert ( token_data ( token , symbol , sizeof ( symbol ) ) ) ; return strcasetab ( R_NAMES , R_COUNT , symbol ) != ( usize ) - 1 ; }
returns true if token is a symbol and register
returns true if token is a symbol and register