Explorar el Código

please notice!!!! default value of bool in tars struct set to false

ruanshudong hace 11 meses
padre
commit
300347852a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/tarsparse/element.cpp

+ 1 - 1
tools/tarsparse/element.cpp

@@ -70,7 +70,7 @@ string Builtin::def() const
     switch(_kind)
     {
     case Builtin::KindBool:
-        return "true";
+        return "false";
     case Builtin::KindByte:
     case Builtin::KindShort:
     case Builtin::KindInt: