home bbs files messages ]

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 1,815 of 2,753   
   Stephen Horne to gah@ugcs.caltech.edu   
   Re: Infinite look ahead required by C++?   
   10 Feb 10 18:07:04   
   
   From: sh006d3592@blueyonder.co.uk   
      
   On Wed, 10 Feb 2010 17:02:18 +0000 (UTC), glen herrmannsfeldt   
    wrote:   
      
   >Stephen Horne  wrote:   
   >(snip)   
      
   >> C used to require that you write something like...   
   >   
   >>  struct mystruct x;   
   >   
   >I would say that C still does.  It is typedef that causes the problem   
   >that you mention, and typedef is commonly used with structure   
   >declarations.  You can typedef int just as easily as struct.   
      
   OK - it's been over a decade since I last used C. C++ doesn't require   
   the "typedef", so you get the issue either way.   
      
   --- 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