From: | Hans-Peter Diettrich <DrDiettrich1@aol.com> |
Newsgroups: | comp.compilers |
Date: | 28 Sep 2006 22:51:09 -0400 |
Organization: | Compilers Central |
References: | 06-09-02906-09-042 06-09-048 06-09-060 06-09-078 06-09-093 06-09-108 06-09-117 06-09-125 06-09-137 06-09-139 |
Keywords: | C, standards |
Posted-Date: | 28 Sep 2006 22:51:09 EDT |
Hans-Peter Diettrich wrote:
> Chris Dollin wrote:
>
>
>>>C99 states that type declarations are not allowed in C procedure
>>>definitions.
>>
>>
>>Interesting. The draft has no such restriction in the typedef section,
>>and an explicit example with a typedef inside a function.
You are right. It looks like I misinterpreted the English wording, by
reading "in function definitions" as "inside function bodies" :-(
DoDi
Return to the
comp.compilers page.
Search the
comp.compilers archives again.