|
From: | Charles Levert |
Subject: | [bug-grep] [bug #11022] Line wrapping causes GREP_COLOR background color to "smear" |
Date: | Thu, 28 Apr 2005 19:04:56 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3 |
Follow-up Comment #7, bug #11022 (project grep): The "do { ... } while (0)" makes it the syntactical equivalent of a function call. Consider #define F(x) if (x) h(x) #define G(x) do { if (x) h(x); } while (0) { if (y) F(x); else z++; if (y) G(x); else z++; } and match the "else" statements to their corresponding "if". (Code indentation will probably be lost on the Savannah web page.) The construct will otherwise usually be removed by the optimizer. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11022> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |