Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 797 of 2,753    |
|    Chris Dollin to Hans-Peter Diettrich    |
|    Re: Generating a simple hand-coded like     |
|    22 Sep 06 22:26:58    |
      From: chris.dollin@hp.com              Hans-Peter Diettrich wrote:              (fx:snip)              > #defined names, and the parser adds all encountered typedef names. This       > procedure works fine, provided that typedefs always have global scope,       > as is required in C.              Not so far as I'm aware: I couldn't find such a restriction for C90,       and could find implications in the text that it would be allowed.       Experimentally, `gcc -ansi -pedantic` was quite happy with a typedef       inside `main`.              --       Chris "falling further in" Dollin       I'm full of sweetness and light. And I'm /keeping/ it.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca