瀏覽代碼

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

ruanshudong 11 月之前
父節點
當前提交
300347852a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: