Commits

Jason McKesson committed f01b383

Restored core extension iterator, and minimized redundanct definitions.

Comments (0)

Files changed (2)

modules/LoadLuaSpec.lua

 		
 		if(enum.core) then
 			for _, coreSpec in ipairs(enum.core) do
-				table.insert(GetCore(coreSpec[1]).enums, enum)
+				if(coreSpec[2] == "core") then
+					table.insert(GetCore(coreSpec[1]).enums, enum)
+					break
+				end
 			end
 		end
 	end
 	
 		if(func.core) then
 			for _, coreSpec in ipairs(func.core) do
-				table.insert(GetCore(coreSpec[1]).funcs, func)
+				if(coreSpec[2] == "core") then
+					table.insert(GetCore(coreSpec[1]).funcs, func)
+					break
+				end
 			end
 		end
 	end

modules/Structure.lua

 MakeActionType("sub-version-iter", subVersionIterAction, function(self, data)
 end)
 
---[==[
 ---------------------------------------------
 -- Core Extension Iterator Action
 local coreExtIterAction = {}
 end
 
 
+--[==[
 ---------------------------------------------
 -- Core Extension Iterator Action, culled against the requested extensions.
 local coreExtCullIterAction = {}