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,878 of 2,753   
   Eric Sosman to Tom St Denis   
   Re: Writing a C Compiler: lvalues   
   09 May 10 17:09:42   
   
   XPost: comp.lang.c   
   From: esosman@ieee.org   
      
   On 5/9/2010 1:25 PM, Tom St Denis wrote:   
   >   
   > ++ requires an object that an address can be taken of attached to   
   > either the right or left which forms part of a larger expression.   
      
        Yes to "object," no to "address can be taken."  Examples:   
      
   	register int obj1 = 42;   
   	struct { int obj2 : 7; } s = { 42 };   
   	++obj1;     // okay   
   	s.obj2++;   // okay   
   	&obj1;      // constraint violation   
   	&s.obj2;    // constraint violation   
      
   --   
   Eric Sosman   
      
   --- 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