Source

GL XML Specs / _ExtractFuncs.lua

Diff from to

File _ExtractFuncs.lua

 			table.insert(state.funcData.passthru, matchArray[1]);
 		end
 	end},
-	
+
 	--Front matter
 	{pattern = "(%S*):%s*(.*)", func = function(state, matchArray)
 		if(state.frontMatter) then
 		state.currFunc = CreateFunc(matchArray[1], matchArray[2]);
 		table.insert(state.funcData.functions, state.currFunc);
 	end},
+	
+	--Profile property
+	{pattern = "^\tprofile:%s+compatibility", func = function(state, matchArray)
+		state.currFunc.profile = "compatibility"
+		state.currFunc.deprecated = "3.1"
+	end},
 
 	--Parameter Properties
 	{pattern = "^\tparam%s+(%S*)%s+(.*)", func = function(state, matchArray)