{"action":"opened","issue":{"url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/167","repository_url":"https://api.github.com/repos/RomanYankovsky/DelphiAST","labels_url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/167/comments","events_url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/167/events","html_url":"https://github.com/RomanYankovsky/DelphiAST/issues/167","id":143726572,"number":167,"title":"ExID is ptUnknown where it should be ptPlatform.","user":{"login":"JBontes","id":11998466,"avatar_url":"https://avatars.githubusercontent.com/u/11998466?v=3","gravatar_id":"","url":"https://api.github.com/users/JBontes","html_url":"https://github.com/JBontes","followers_url":"https://api.github.com/users/JBontes/followers","following_url":"https://api.github.com/users/JBontes/following{/other_user}","gists_url":"https://api.github.com/users/JBontes/gists{/gist_id}","starred_url":"https://api.github.com/users/JBontes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JBontes/subscriptions","organizations_url":"https://api.github.com/users/JBontes/orgs","repos_url":"https://api.github.com/users/JBontes/repos","events_url":"https://api.github.com/users/JBontes/events{/privacy}","received_events_url":"https://api.github.com/users/JBontes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-26T16:27:31Z","updated_at":"2016-03-26T16:27:31Z","closed_at":null,"body":"DelphiAST correctly processes the `deprecated` and `library` directives, but somehow threats `platform` different.\r\n\r\nDemo:\r\n\r\n```delphi\r\nunit DeprecatedOnConst;\r\n\r\ninterface\r\n\r\nconst\r\n  MyConst = 'test' deprecated 'Do not use';\r\n  MyConst2 = 'test2' platform;\r\n  MyConst3 = 'test4' library;\r\n\r\nimplementation\r\n\r\nend.\r\n```"}}