{"action":"created","comment":{"url":"https://api.github.com/repos/diffblue/cbmc/pulls/comments/92829930","pull_request_review_id":13352637,"id":92829930,"diff_hunk":"@@ -263,6 +264,15 @@ xmlt xml(\n       result.set_attribute(\"binary\", expr.is_true()?\"1\":\"0\");\n       result.data=expr.is_true()?\"TRUE\":\"FALSE\";\n     }\n+    else if(type.id()==ID_c_bool)\n+    {\n+      result.name=\"integer\";\n+      result.set_attribute(\"c_type\", \"_Bool\");\n+      result.set_attribute(\"binary\", expr.get_string(ID_value));\n+      mp_integer bool_constant;","path":"src/util/xml_expr.cpp","position":19,"original_position":19,"commit_id":"a8158693f139d33dbe746cc48bb099eb53481daf","original_commit_id":"a8158693f139d33dbe746cc48bb099eb53481daf","user":{"login":"kroening","id":1830565,"avatar_url":"https://avatars.githubusercontent.com/u/1830565?v=3","gravatar_id":"","url":"https://api.github.com/users/kroening","html_url":"https://github.com/kroening","followers_url":"https://api.github.com/users/kroening/followers","following_url":"https://api.github.com/users/kroening/following{/other_user}","gists_url":"https://api.github.com/users/kroening/gists{/gist_id}","starred_url":"https://api.github.com/users/kroening/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroening/subscriptions","organizations_url":"https://api.github.com/users/kroening/orgs","repos_url":"https://api.github.com/users/kroening/repos","events_url":"https://api.github.com/users/kroening/events{/privacy}","received_events_url":"https://api.github.com/users/kroening/received_events","type":"User","site_admin":false},"body":"The \"binary\" should be 0/1; the above yields true/false.","created_at":"2016-12-16T15:25:45Z","updated_at":"2016-12-16T15:25:45Z","html_url":"https://github.com/diffblue/cbmc/pull/357#discussion_r92829930","pull_request_url":"https://api.github.com/repos/diffblue/cbmc/pulls/357","_links":{"self":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/comments/92829930"},"html":{"href":"https://github.com/diffblue/cbmc/pull/357#discussion_r92829930"},"pull_request":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/357"}}},"pull_request":{"url":"https://api.github.com/repos/diffblue/cbmc/pulls/357","id":98338888,"html_url":"https://github.com/diffblue/cbmc/pull/357","diff_url":"https://github.com/diffblue/cbmc/pull/357.diff","patch_url":"https://github.com/diffblue/cbmc/pull/357.patch","issue_url":"https://api.github.com/repos/diffblue/cbmc/issues/357","number":357,"state":"open","locked":false,"title":"Fix _Bool XML output","user":{"login":"peterschrammel","id":4222448,"avatar_url":"https://avatars.githubusercontent.com/u/4222448?v=3","gravatar_id":"","url":"https://api.github.com/users/peterschrammel","html_url":"https://github.com/peterschrammel","followers_url":"https://api.github.com/users/peterschrammel/followers","following_url":"https://api.github.com/users/peterschrammel/following{/other_user}","gists_url":"https://api.github.com/users/peterschrammel/gists{/gist_id}","starred_url":"https://api.github.com/users/peterschrammel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterschrammel/subscriptions","organizations_url":"https://api.github.com/users/peterschrammel/orgs","repos_url":"https://api.github.com/users/peterschrammel/repos","events_url":"https://api.github.com/users/peterschrammel/events{/privacy}","received_events_url":"https://api.github.com/users/peterschrammel/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-16T13:58:22Z","updated_at":"2016-12-16T15:25:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82d8cb73c7ba1fdb026c7af6da07b282cfd47a2a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/diffblue/cbmc/pulls/357/commits","review_comments_url":"https://api.github.com/repos/diffblue/cbmc/pulls/357/comments","review_comment_url":"https://api.github.com/repos/diffblue/cbmc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diffblue/cbmc/issues/357/comments","statuses_url":"https://api.github.com/repos/diffblue/cbmc/statuses/a8158693f139d33dbe746cc48bb099eb53481daf","head":{"label":"peterschrammel:fix-c-bool-xml-output","ref":"fix-c-bool-xml-output","sha":"a8158693f139d33dbe746cc48bb099eb53481daf","user":{"login":"peterschrammel","id":4222448,"avatar_url":"https://avatars.githubusercontent.com/u/4222448?v=3","gravatar_id":"","url":"https://api.github.com/users/peterschrammel","html_url":"https://github.com/peterschrammel","followers_url":"https://api.github.com/users/peterschrammel/followers","following_url":"https://api.github.com/users/peterschrammel/following{/other_user}","gists_url":"https://api.github.com/users/peterschrammel/gists{/gist_id}","starred_url":"https://api.github.com/users/peterschrammel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterschrammel/subscriptions","organizations_url":"https://api.github.com/users/peterschrammel/orgs","repos_url":"https://api.github.com/users/peterschrammel/repos","events_url":"https://api.github.com/users/peterschrammel/events{/privacy}","received_events_url":"https://api.github.com/users/peterschrammel/received_events","type":"User","site_admin":false},"repo":{"id":55680594,"name":"cbmc","full_name":"peterschrammel/cbmc","owner":{"login":"peterschrammel","id":4222448,"avatar_url":"https://avatars.githubusercontent.com/u/4222448?v=3","gravatar_id":"","url":"https://api.github.com/users/peterschrammel","html_url":"https://github.com/peterschrammel","followers_url":"https://api.github.com/users/peterschrammel/followers","following_url":"https://api.github.com/users/peterschrammel/following{/other_user}","gists_url":"https://api.github.com/users/peterschrammel/gists{/gist_id}","starred_url":"https://api.github.com/users/peterschrammel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterschrammel/subscriptions","organizations_url":"https://api.github.com/users/peterschrammel/orgs","repos_url":"https://api.github.com/users/peterschrammel/repos","events_url":"https://api.github.com/users/peterschrammel/events{/privacy}","received_events_url":"https://api.github.com/users/peterschrammel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterschrammel/cbmc","description":"C Bounded Model Checker","fork":true,"url":"https://api.github.com/repos/peterschrammel/cbmc","forks_url":"https://api.github.com/repos/peterschrammel/cbmc/forks","keys_url":"https://api.github.com/repos/peterschrammel/cbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterschrammel/cbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterschrammel/cbmc/teams","hooks_url":"https://api.github.com/repos/peterschrammel/cbmc/hooks","issue_events_url":"https://api.github.com/repos/peterschrammel/cbmc/issues/events{/number}","events_url":"https://api.github.com/repos/peterschrammel/cbmc/events","assignees_url":"https://api.github.com/repos/peterschrammel/cbmc/assignees{/user}","branches_url":"https://api.github.com/repos/peterschrammel/cbmc/branches{/branch}","tags_url":"https://api.github.com/repos/peterschrammel/cbmc/tags","blobs_url":"https://api.github.com/repos/peterschrammel/cbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterschrammel/cbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterschrammel/cbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterschrammel/cbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterschrammel/cbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/peterschrammel/cbmc/languages","stargazers_url":"https://api.github.com/repos/peterschrammel/cbmc/stargazers","contributors_url":"https://api.github.com/repos/peterschrammel/cbmc/contributors","subscribers_url":"https://api.github.com/repos/peterschrammel/cbmc/subscribers","subscription_url":"https://api.github.com/repos/peterschrammel/cbmc/subscription","commits_url":"https://api.github.com/repos/peterschrammel/cbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterschrammel/cbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterschrammel/cbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterschrammel/cbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterschrammel/cbmc/contents/{+path}","compare_url":"https://api.github.com/repos/peterschrammel/cbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterschrammel/cbmc/merges","archive_url":"https://api.github.com/repos/peterschrammel/cbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterschrammel/cbmc/downloads","issues_url":"https://api.github.com/repos/peterschrammel/cbmc/issues{/number}","pulls_url":"https://api.github.com/repos/peterschrammel/cbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/peterschrammel/cbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/peterschrammel/cbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterschrammel/cbmc/labels{/name}","releases_url":"https://api.github.com/repos/peterschrammel/cbmc/releases{/id}","deployments_url":"https://api.github.com/repos/peterschrammel/cbmc/deployments","created_at":"2016-04-07T09:12:29Z","updated_at":"2016-04-07T09:12:36Z","pushed_at":"2016-12-16T14:53:20Z","git_url":"git://github.com/peterschrammel/cbmc.git","ssh_url":"git@github.com:peterschrammel/cbmc.git","clone_url":"https://github.com/peterschrammel/cbmc.git","svn_url":"https://github.com/peterschrammel/cbmc","homepage":"http://www.cprover.org/cbmc","size":16445,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"diffblue:master","ref":"master","sha":"3d9eba2a46816dd18fae94f8784181a335d8a69e","user":{"login":"diffblue","id":17216098,"avatar_url":"https://avatars.githubusercontent.com/u/17216098?v=3","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"repo":{"id":51877056,"name":"cbmc","full_name":"diffblue/cbmc","owner":{"login":"diffblue","id":17216098,"avatar_url":"https://avatars.githubusercontent.com/u/17216098?v=3","gravatar_id":"","url":"https://api.github.com/users/diffblue","html_url":"https://github.com/diffblue","followers_url":"https://api.github.com/users/diffblue/followers","following_url":"https://api.github.com/users/diffblue/following{/other_user}","gists_url":"https://api.github.com/users/diffblue/gists{/gist_id}","starred_url":"https://api.github.com/users/diffblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diffblue/subscriptions","organizations_url":"https://api.github.com/users/diffblue/orgs","repos_url":"https://api.github.com/users/diffblue/repos","events_url":"https://api.github.com/users/diffblue/events{/privacy}","received_events_url":"https://api.github.com/users/diffblue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diffblue/cbmc","description":"C Bounded Model Checker","fork":false,"url":"https://api.github.com/repos/diffblue/cbmc","forks_url":"https://api.github.com/repos/diffblue/cbmc/forks","keys_url":"https://api.github.com/repos/diffblue/cbmc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diffblue/cbmc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diffblue/cbmc/teams","hooks_url":"https://api.github.com/repos/diffblue/cbmc/hooks","issue_events_url":"https://api.github.com/repos/diffblue/cbmc/issues/events{/number}","events_url":"https://api.github.com/repos/diffblue/cbmc/events","assignees_url":"https://api.github.com/repos/diffblue/cbmc/assignees{/user}","branches_url":"https://api.github.com/repos/diffblue/cbmc/branches{/branch}","tags_url":"https://api.github.com/repos/diffblue/cbmc/tags","blobs_url":"https://api.github.com/repos/diffblue/cbmc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diffblue/cbmc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diffblue/cbmc/git/refs{/sha}","trees_url":"https://api.github.com/repos/diffblue/cbmc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diffblue/cbmc/statuses/{sha}","languages_url":"https://api.github.com/repos/diffblue/cbmc/languages","stargazers_url":"https://api.github.com/repos/diffblue/cbmc/stargazers","contributors_url":"https://api.github.com/repos/diffblue/cbmc/contributors","subscribers_url":"https://api.github.com/repos/diffblue/cbmc/subscribers","subscription_url":"https://api.github.com/repos/diffblue/cbmc/subscription","commits_url":"https://api.github.com/repos/diffblue/cbmc/commits{/sha}","git_commits_url":"https://api.github.com/repos/diffblue/cbmc/git/commits{/sha}","comments_url":"https://api.github.com/repos/diffblue/cbmc/comments{/number}","issue_comment_url":"https://api.github.com/repos/diffblue/cbmc/issues/comments{/number}","contents_url":"https://api.github.com/repos/diffblue/cbmc/contents/{+path}","compare_url":"https://api.github.com/repos/diffblue/cbmc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diffblue/cbmc/merges","archive_url":"https://api.github.com/repos/diffblue/cbmc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diffblue/cbmc/downloads","issues_url":"https://api.github.com/repos/diffblue/cbmc/issues{/number}","pulls_url":"https://api.github.com/repos/diffblue/cbmc/pulls{/number}","milestones_url":"https://api.github.com/repos/diffblue/cbmc/milestones{/number}","notifications_url":"https://api.github.com/repos/diffblue/cbmc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diffblue/cbmc/labels{/name}","releases_url":"https://api.github.com/repos/diffblue/cbmc/releases{/id}","deployments_url":"https://api.github.com/repos/diffblue/cbmc/deployments","created_at":"2016-02-16T23:03:52Z","updated_at":"2016-12-15T09:30:34Z","pushed_at":"2016-12-16T14:53:21Z","git_url":"git://github.com/diffblue/cbmc.git","ssh_url":"git@github.com:diffblue/cbmc.git","clone_url":"https://github.com/diffblue/cbmc.git","svn_url":"https://github.com/diffblue/cbmc","homepage":"http://www.cprover.org/cbmc","size":15255,"stargazers_count":24,"watchers_count":24,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":143,"forks":30,"open_issues":143,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/357"},"html":{"href":"https://github.com/diffblue/cbmc/pull/357"},"issue":{"href":"https://api.github.com/repos/diffblue/cbmc/issues/357"},"comments":{"href":"https://api.github.com/repos/diffblue/cbmc/issues/357/comments"},"review_comments":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/357/comments"},"review_comment":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diffblue/cbmc/pulls/357/commits"},"statuses":{"href":"https://api.github.com/repos/diffblue/cbmc/statuses/a8158693f139d33dbe746cc48bb099eb53481daf"}}}}
{"actor":{"display_login":"kroening"}}