Source

fantomongo / fan / bson / BsonReader.fan

Diff from to

File fan/bson/BsonReader.fan

           if (remaining > 0)
             log.warn("Bson.read() - got EOO with $remaining bytes remaining")
           break // end of object - return whatever we have
-        case Bson.NUMBER:
+        case Bson.DOUBLE:
           remaining = readFloat(ins, remaining, bson)
         case Bson.SYMBOL:
         case Bson.STRING:
         case Bson.UNDEFINED:
         case Bson.NULL:
           remaining = readNull(ins, remaining, bson)
-        // case BsonType.REGEX.val:
-        // case BsonType.CODE.val:
+        // case Bson.REGEX:
+          // remaining = readRegex(ins, remaining, bson)
         case Bson.CODE_W_SCOPE:
           remaining = readCode(ins, remaining, bson)
         case Bson.NUMBER_LONG:
   }
   
 }
-
-
-