Commits

Jason McKesson committed 6d76ea7

Fix for bug #18.

Comments (0)

Files changed (1)

modules/Structure.lua

 		local core = context.specData.coredefs[context.version];
 		
 		if(context.options.profile ~= "core") then
-			return core.enums
+			return core.enums, context.version
 		end
 
 		local targetVersion = tonumber(context.options.version)
 		local core = context.specData.coredefs[context.version];
 		
 		if(context.options.profile ~= "core") then
-			return core.funcs
+			return core.funcs, context.version
 		end
 
 		local targetVersion = tonumber(context.options.version)