Article View: gnu.gcc.help
Article #52934Nested Functions in GCC ?
From: Hugh Emberson
Date: Wed, 22 Apr 1992 06:13
Date: Wed, 22 Apr 1992 06:13
30 lines
1254 bytes
1254 bytes
I recently read somewhere that GCC has introduced nested functions
(like Pascal).
Is this true?
If it is true:
Why was it done?
How are they implemented?
What kind of scope rules to they have?
Do they use a static link (a pointer to the stack frame of
the enclosing function) ?
What about pointers to functions ?
If you can answer any of these questions, please do.
Thanks,
Hugh
P.S. I would appreciate it if someone involved with writing GCC
could reply.
Technical Details
Message-ID:
<1992Apr22.181316.4785@csc.canterbury.ac.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr.EBay.Sun.COM!ames!uakari.primate.wisc.edu!sdd.hp.com!think.com!wupost!waikato.ac.nz!canterbury.ac.nz!cantua!hughShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,1b5dc491fa3829d0,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-04-21 23:13:14 PST Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr.EBay.Sun.COM!ames!uakari.primate.wisc.edu!sdd.hp.com!think.com!wupost!waikato.ac.nz!canterbury.ac.nz!cantua!hugh From: hugh@cosc.canterbury.ac.nz (Hugh Emberson) Newsgroups: gnu.gcc.help Subject: Nested Functions in GCC ? Message-ID: <1992Apr22.181316.4785@csc.canterbury.ac.nz> Date: 22 Apr 92 06:13:14 GMT Sender: hugh@cantua (Hugh Emberson) Followup-To: gnu.gcc Distribution: world Organization: University of Canterbury, Christchurch, New Zealand Lines: 30 Nntp-Posting-Host: cantua.canterbury.ac.nz