tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] /* suppress this mess */ expr_land_const


From: Peter \"Firefly\" Lund
Subject: [Tinycc-devel] /* suppress this mess */ expr_land_const
Date: Thu, 6 Mar 2003 23:03:16 +0100 (MET)

What is wrong with these bits of tcc.c ?

/* XXX: suppress this mess */
static void expr_land_const(void)
{
    expr_or();
    while (tok == TOK_LAND) {
        next();
        expr_or();
        gen_op(TOK_LAND);
    }
}

/* XXX: suppress this mess */
static void expr_lor_const(void)
{
    expr_land_const();
    while (tok == TOK_LOR) {
        next();
        expr_land_const();
        gen_op(TOK_LOR);
    }
}

It looks like a rather standard recursive descent parser to me.

(ok, the names puzzle me -- why do they end in _const?)

-Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]