Browse Source

added 'array' OSX type

Nicolas Cannasse 18 years ago
parent
commit
17746e2396
1 changed files with 5 additions and 0 deletions
  1. 5 0
      std/neko/net/ProxyDetect.hx

+ 5 - 0
std/neko/net/ProxyDetect.hx

@@ -118,6 +118,11 @@ class ProxyDetect {
 			return xml.firstChild().nodeValue;
 		case "integer":
 			return Std.parseInt(xml.firstChild().nodeValue);
+		case "array":
+			var a = new Array();
+			for( x in xml.elements() )
+				a.push(parseOSXConfiguration(x));
+			return a;
 		default:
 			throw "Invalid value type '"+xml.nodeName+"'";
 		}