Browse Source

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

ruanshudong 1 năm trước cách đây
mục cha
commit
300347852a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: