Exemplo n.º 1
0
static int pexp6 (void) {
    int ei0, ei1;

    if (Ltok == L_NOT) {
        ei0 = Cnew (C_NOT);
        Lgtok ();
        ei1 = pexp6 ();
        Csetfp (ei0, ei1);
        return ei0;
    }
    return pexp7 ();
}
Exemplo n.º 2
0
static int pexp6 (void) {
    int ei0, ei1;

    if (EEltok == L_NOT) {
        if ((ei0 = EEcnew (C_NOT)) == -1) {
            SUwarning (0, "pexp6", "cannot create code");
            return -1;
        }
        EElgtok ();
        if ((ei1 = pexp6 ()) == -1) {
            SUwarning (0, "pexp6", "cannot create expression");
            return -1;
        }
        EEcsetfp (ei0, ei1);
        return ei0;
    }
    return pexp7 ();
}