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,835 of 2,753   
   Changming Xu to All   
   can you give me some comment on this vec   
   20 Mar 10 18:26:45   
   
   From: xcmhit@gmail.com   
      
   hi,   
   can somebody give me some comment on the following code in bison/byacc   
      
      
      
   pack_vector:   
      
      
         for (k = 0; ok && k < vector; k++)   
       if (pos[k] == j)   
         ok = false;   
      
   I believe I  understand the pack alg from Aho[1986] and flex. But I   
   don't understand  why it does not work if  base[i] == base[j] for some   
   i,j   
      
   (I confirmed it with bash-4.0/parse.y, it does not work if I comment   
   these lines)   
      
      
      
      
   Thanks!!   
      
   --- 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