From owner-freebsd-multimedia Sat Jul 19 16:46:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA17716 for multimedia-outgoing; Sat, 19 Jul 1997 16:46:35 -0700 (PDT) Received: from becker1.u.washington.edu (spaz@becker1.u.washington.edu [140.142.12.67]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA17711 for ; Sat, 19 Jul 1997 16:46:34 -0700 (PDT) Received: from localhost (spaz@localhost) by becker1.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with SMTP id QAA18197 for ; Sat, 19 Jul 1997 16:46:32 -0700 (PDT) Date: Sat, 19 Jul 1997 16:46:32 -0700 (PDT) From: "J. Utz" To: multimedia@FreeBSD.ORG Subject: help? extra braces in configure.c!!!???!!! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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