Browse Source

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

ruanshudong 1 year ago
parent
commit
300347852a
1 changed files with 1 additions and 1 deletions
  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: