[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Local procedures
From: |
Rob Landley |
Subject: |
Re: [Tinycc-devel] Local procedures |
Date: |
Tue, 11 Sep 2007 13:50:10 -0500 |
User-agent: |
KMail/1.9.6 |
On Tuesday 11 September 2007 1:45:47 pm Peter Lund wrote:
> On Tue, 2007-09-11 at 13:22 -0500, Rob Landley wrote:
> > > Yes, see:
> > > http://people.debian.org/~aaronl/Usenix88-lexic.pdf
> >
> > That's a C++ feature, not a C feature. I knew about that one. I'm
> > asking about a C compiler.
>
> Okay, let's try it from another angle.
>
> Fire up pinfo or info or xemacs or whatever and look at the info file
> for gcc.
>
> From the first page, select the link "C Extensions" (it is #5 here).
> From that page, select the link "Nested functions::As in Algol and
> Pascal, lexical scoping of functions" (#4 in the menu, #5 overall on the
> page).
Translation: gcc calls this "nested functions", which is why it didn't come up
when I googled for "gcc local procedures".
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
Re: [Tinycc-devel] Local procedures, Rob Landley, 2007/09/11
- Re: [Tinycc-devel] Local procedures, Antti-Juhani Kaijanaho, 2007/09/11
- Re: [Tinycc-devel] Local procedures, Peter Lund, 2007/09/11
- Re: [Tinycc-devel] Local procedures, Zdenek Pavlas, 2007/09/12
- Re: [Tinycc-devel] Local procedures, Antti-Juhani Kaijanaho, 2007/09/12
- Re: [Tinycc-devel] Local procedures, Zdenek Pavlas, 2007/09/12
- Re: [Tinycc-devel] Local procedures, Antti-Juhani Kaijanaho, 2007/09/12