parsav  Diff

Differences From Artifact [04e1a3fbb9]:

To Artifact [392d24dbd5]:


   310    310   			self._store[i/8] = self._store[i/8] and not (1 << (i % 8))
   311    311   		end
   312    312   	end
   313    313   	set.bits = {}
   314    314   	set.idvmap = {}
   315    315   	for i,v in ipairs(tbl) do
   316    316   		set.idvmap[v] = i
   317         -		set.bits[v] = quote var b: set b:clear() b:setbit(i, true) in b end
          317  +		set.bits[v] = quote var b: set b:clear() b:setbit([i-1], true) in b end
   318    318   	end
   319    319   	set.metamethods.__add = macro(function(self,other)
   320    320   		local new = symbol(set)
   321    321   		local q = quote var [new] new:clear() end
   322    322   		for i = 0, bytes - 1 do
   323    323   			q = quote [q]
   324    324   				new._store[i] = self._store[i] or other._store[i]