parsav  Diff

Differences From Artifact [704653b9d0]:

To Artifact [2df16a2b60]:


30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
	local par = 0
	if t.meta.parent then par = topicidxt[t.meta.parent] end
	local restrict = symbol(lib.store.powerset)
	local setbits = quote restrict:clear() end
	if t.meta.priv then
		if type(t.meta.priv) ~= 'table' then t.meta.priv = {t.meta.priv} end
		for _,v in pairs(t.meta.priv) do
			setbits = quote [setbits]; (restrict.[v] << true) end
		end
	end
	allpages[i] = quote var [restrict]; [setbits] in pgpair {
		name = [v];
		parent = par;
		priv = restrict;
		title = [t.meta.title];







|







30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
	local par = 0
	if t.meta.parent then par = topicidxt[t.meta.parent] end
	local restrict = symbol(lib.store.powerset)
	local setbits = quote restrict:clear() end
	if t.meta.priv then
		if type(t.meta.priv) ~= 'table' then t.meta.priv = {t.meta.priv} end
		for _,v in pairs(t.meta.priv) do
			setbits = quote [setbits]; restrict.[v] = true end
		end
	end
	allpages[i] = quote var [restrict]; [setbits] in pgpair {
		name = [v];
		parent = par;
		priv = restrict;
		title = [t.meta.title];