{"action":"created","issue":{"url":"https://api.github.com/repos/SonarCommunity/sonar-erlang/issues/10","labels_url":"https://api.github.com/repos/SonarCommunity/sonar-erlang/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/SonarCommunity/sonar-erlang/issues/10/comments","events_url":"https://api.github.com/repos/SonarCommunity/sonar-erlang/issues/10/events","html_url":"https://github.com/SonarCommunity/sonar-erlang/issues/10","id":101708361,"number":10,"title":"Parsing error with function call and bit size","user":{"login":"kalidasya","id":1721938,"avatar_url":"https://avatars.githubusercontent.com/u/1721938?v=3","gravatar_id":"","url":"https://api.github.com/users/kalidasya","html_url":"https://github.com/kalidasya","followers_url":"https://api.github.com/users/kalidasya/followers","following_url":"https://api.github.com/users/kalidasya/following{/other_user}","gists_url":"https://api.github.com/users/kalidasya/gists{/gist_id}","starred_url":"https://api.github.com/users/kalidasya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalidasya/subscriptions","organizations_url":"https://api.github.com/users/kalidasya/orgs","repos_url":"https://api.github.com/users/kalidasya/repos","events_url":"https://api.github.com/users/kalidasya/events{/privacy}","received_events_url":"https://api.github.com/users/kalidasya/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-18T17:32:07Z","updated_at":"2015-08-18T19:46:53Z","closed_at":"2015-08-18T19:07:25Z","body":"The following code snippet is failing:\r\n```\r\n-module(bin_to_hex).\r\n-define(H(X), (hex(X)):16).\r\nhex(X) -> X.\r\n```\r\n\r\n```\r\nParse error at line 3 column 26:\r\n1: -module(bin_to_hex).\r\n2: \r\n3: -define(H(X), (hex(X)):16).\r\n                            ^\r\n4: \r\n5: hex(X) -> X.\r\n6: \r\n```"},"comment":{"url":"https://api.github.com/repos/SonarCommunity/sonar-erlang/issues/comments/132330221","html_url":"https://github.com/SonarCommunity/sonar-erlang/issues/10#issuecomment-132330221","issue_url":"https://api.github.com/repos/SonarCommunity/sonar-erlang/issues/10","id":132330221,"user":{"login":"jlrigau","id":274281,"avatar_url":"https://avatars.githubusercontent.com/u/274281?v=3","gravatar_id":"","url":"https://api.github.com/users/jlrigau","html_url":"https://github.com/jlrigau","followers_url":"https://api.github.com/users/jlrigau/followers","following_url":"https://api.github.com/users/jlrigau/following{/other_user}","gists_url":"https://api.github.com/users/jlrigau/gists{/gist_id}","starred_url":"https://api.github.com/users/jlrigau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlrigau/subscriptions","organizations_url":"https://api.github.com/users/jlrigau/orgs","repos_url":"https://api.github.com/users/jlrigau/repos","events_url":"https://api.github.com/users/jlrigau/events{/privacy}","received_events_url":"https://api.github.com/users/jlrigau/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T19:46:53Z","updated_at":"2015-08-18T19:46:53Z","body":"@kalidasya the use of a pre-processor for macros is definitely a good option.\r\n\r\nThanks for the fix on the grammar :)"}}