{"action":"created","issue":{"url":"https://api.github.com/repos/PinguinoIDE/pinguino-ide/issues/41","labels_url":"https://api.github.com/repos/PinguinoIDE/pinguino-ide/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/PinguinoIDE/pinguino-ide/issues/41/comments","events_url":"https://api.github.com/repos/PinguinoIDE/pinguino-ide/issues/41/events","html_url":"https://github.com/PinguinoIDE/pinguino-ide/issues/41","id":60312862,"number":41,"title":"Preprocessor error with PIC registers : bits -> Bits","user":{"login":"rblanchot","id":5788750,"avatar_url":"https://avatars.githubusercontent.com/u/5788750?v=3","gravatar_id":"","url":"https://api.github.com/users/rblanchot","html_url":"https://github.com/rblanchot","followers_url":"https://api.github.com/users/rblanchot/followers","following_url":"https://api.github.com/users/rblanchot/following{/other_user}","gists_url":"https://api.github.com/users/rblanchot/gists{/gist_id}","starred_url":"https://api.github.com/users/rblanchot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rblanchot/subscriptions","organizations_url":"https://api.github.com/users/rblanchot/orgs","repos_url":"https://api.github.com/users/rblanchot/repos","events_url":"https://api.github.com/users/rblanchot/events{/privacy}","received_events_url":"https://api.github.com/users/rblanchot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"YeisonEng","id":4206584,"avatar_url":"https://avatars.githubusercontent.com/u/4206584?v=3","gravatar_id":"","url":"https://api.github.com/users/YeisonEng","html_url":"https://github.com/YeisonEng","followers_url":"https://api.github.com/users/YeisonEng/followers","following_url":"https://api.github.com/users/YeisonEng/following{/other_user}","gists_url":"https://api.github.com/users/YeisonEng/gists{/gist_id}","starred_url":"https://api.github.com/users/YeisonEng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YeisonEng/subscriptions","organizations_url":"https://api.github.com/users/YeisonEng/orgs","repos_url":"https://api.github.com/users/YeisonEng/repos","events_url":"https://api.github.com/users/YeisonEng/events{/privacy}","received_events_url":"https://api.github.com/users/YeisonEng/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-03-09T08:39:53Z","updated_at":"2015-03-09T19:06:33Z","closed_at":null,"body":"Use of PIC registers instructions like TRISAbits.TRISA4 = 0; leads to error.\r\nThe preprocessor replaces TRISA<b>b</b>its.TRISA4 by TRISA<b>B</b>its.TRISA4 (bits -> Bits).\r\n"},"comment":{"url":"https://api.github.com/repos/PinguinoIDE/pinguino-ide/issues/comments/77920611","html_url":"https://github.com/PinguinoIDE/pinguino-ide/issues/41#issuecomment-77920611","issue_url":"https://api.github.com/repos/PinguinoIDE/pinguino-ide/issues/41","id":77920611,"user":{"login":"rblanchot","id":5788750,"avatar_url":"https://avatars.githubusercontent.com/u/5788750?v=3","gravatar_id":"","url":"https://api.github.com/users/rblanchot","html_url":"https://github.com/rblanchot","followers_url":"https://api.github.com/users/rblanchot/followers","following_url":"https://api.github.com/users/rblanchot/following{/other_user}","gists_url":"https://api.github.com/users/rblanchot/gists{/gist_id}","starred_url":"https://api.github.com/users/rblanchot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rblanchot/subscriptions","organizations_url":"https://api.github.com/users/rblanchot/orgs","repos_url":"https://api.github.com/users/rblanchot/repos","events_url":"https://api.github.com/users/rblanchot/events{/privacy}","received_events_url":"https://api.github.com/users/rblanchot/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T19:06:33Z","updated_at":"2015-03-09T19:06:33Z","body":"TRISAbits.TRISA4 (this is just an example) is pure C syntax where TRISA is\na PIC register (though actually an address in the PIC memory) and TRISA4 a\nbit of this register. All these structures are define in pic18fxxxxx.h or\npic32mxxxxx.h header files.\nThe preprocessor shouldn't try to translate bits in Bits because it is not\na whole word (at least the character before is not a space).\n\n\n2015-03-09 18:46 GMT+01:00 Yeison Cardona <notifications@github.com>:\n\n> @rblanchot <https://github.com/rblanchot> Where is TRISAbits.TRISA4?, in\n> a pdl?, I can not find it.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/PinguinoIDE/pinguino-ide/issues/41#issuecomment-77904797>\n> .\n>\n"}}