From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] useful language extension, or no? From: David Gordon Hogan MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 19 Jul 2002 14:33:18 -0400 Topicbox-Message-UUID: d2f3bd30-eaca-11e9-9e20-41e7f4b1d025 > Ah - I see! It hadn't realised that the scope rules now included > that sort of nesting. When did that happen? I guess I am going to > have to trade in my much loved, dog eared K&R for a book on > standard C one of these days... Nested functions are a GNU extension. I'd recommend pretending that they don't exist as much as feasibly possible. I don't have that option, due to the work that I'm doing. But, if you're writing new code, just don't use them and everything will be fine...