Commits

Jason McKesson committed 963cd14

Better enum profile support.

  • Participants
  • Parent commits 0e7f146

Comments (0)

Files changed (1)

File _ExtractEnums.lua

 		AddExtToEnum(enumEntry, currState.extDef.extName);
 	end
 	
-	if(enumEntry.deprecated == nil) then enumEntry.deprecated = currState.extDef.deprecated; end
-	if(enumEntry.removed == nil) then enumEntry.removed = currState.extDef.removed; end
+	if(enumEntry.deprecated == nil) then
+		enumEntry.deprecated = currState.extDef.deprecated;
+	end
+	if(enumEntry.removed == nil) then
+		enumEntry.removed = currState.extDef.removed;
+	end
+	if(enumEntry.profile == nil) then
+		enumEntry.profile = currState.extDef.profile
+	end
 	
 	currState.enumMap[enumName] = enumEntry;