Date: Sat, 19 Jul 1997 16:46:32 -0700 (PDT) From: "J. Utz" <spaz@u.washington.edu> To: multimedia@FreeBSD.ORG Subject: help? extra braces in configure.c!!!???!!! Message-ID: <Pine.OSF.3.96.970719163237.16939D-100000@becker1.u.washington.edu> In-Reply-To: <Pine.OSF.3.96.970719155929.16939B-100000@becker1.u.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
ok, look at this and tell me what u think. i cant believe this works as
intended!
the opening bare brace is matched by a closing bare brace, but what the
hell? the for loop should execute the next line, but the next "line" is a
big if thingy! what goes on? i think that the "big if thingy" is a "line"
since it is curly bracket, but, man, that is hard to follow!
opinions?
{
/*
* Partial driver
*/
full_driver = 0;
for (i = 0; i <= OPT_LAST; i++)
if (can_select_option(i)) {
if (!(selected_options & B(i))) /* Not selected yet */
if (!hw_table[i].verify) {
if (hw_table[i].alias)
selected_options |= B(hw_table[i].alias);
else
selected_options |= B(i);
}
else {
int def_answ = hw_table[i].default_answ;
fprintf(stderr, def_answ ? "%s (y/n) ? " : " %s (n/y) ? ",
questions[i]);
if (think_positively(def_answ))
if (hw_table[i].alias)
selected_options |= B(hw_table[i].alias);
else
selected_options |= B(i);
}
}
}
*******************************************************************************
John Utz spaz@u.washington.edu
idiocy is the impulse function in the convolution of life
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.96.970719163237.16939D-100000>
