cmJson.c:Added case kBoolTId to switch in cmJsonMemberValues()

kBoolTId can now be used as a type rather than only kTrueTId or kFalseTId
to identify boolean values.
This commit is contained in:
kevin 2013-03-28 23:20:27 -07:00
parent 646f65222e
commit bf278aaa99

View File

@ -1631,6 +1631,7 @@ cmJsRC_t cmJsonVMemberValues( const cmJsonNode_t* objectNodePtr, const char
case kTrueTId: case kTrueTId:
case kFalseTId: case kFalseTId:
case kBoolTId:
{ {
bool* bp = va_arg(vl, bool* ); bool* bp = va_arg(vl, bool* );
rc = cmJsonBoolMember(objectNodePtr, label, bp); rc = cmJsonBoolMember(objectNodePtr, label, bp);