These typos were in the version of props.nas that got checked into the
base package.  I'm sure that's my fault, sorry.  Nonetheless, the file
won't parse as is.  Could someone fix?  Thanks. :)

Andy

+++ props.nas   2 Dec 2003 16:25:49 -0000
@@ -33,10 +33,10 @@
 # Static constructor.  Accepts a hash as an argument and duplicates
 # its contents in the property node.  ex:
 #  Node.new({ value : 1.0, units : "ms" });
-Node.new : func {
+Node.new = func {
     result = wrapNode(_new());
     if(typeof(arg[0]) == "hash") {
-        foreach(k; keys(arg[0]) {
+        foreach(k; keys(arg[0])) {
             result.getNode(k, 1).setValue(arg[0][k]);
         }
     }



_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to