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,230 of 2,753   
   chresan to All   
   Re: yacc grammar / expressions parsed wr   
   21 Feb 08 15:09:37   
   
   From: christianschneider@fastmail.fm   
      
   My results were probably caused by a bug of the parser generator   
   rather then in a wrong grammar. Instead of assigning to '$$' I tried   
   using a custom stack for building the expressions and then the result   
   tree was correct.   
      
   > [The usual problem is that you're not allocating space properly for   
   > the tree nodes you create.  And please spell it "grammar". -John]   
      
   Thanks for the hint.   
      
   Christian   
      
   --- 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