{"action":"closed","issue":{"url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/145","labels_url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/145/comments","events_url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/issues/145/events","html_url":"https://github.com/RomanYankovsky/DelphiAST/issues/145","id":123031327,"number":145,"title":"Parser fails on in-place function type declaration","user":{"login":"RomanYankovsky","id":1485472,"avatar_url":"https://avatars.githubusercontent.com/u/1485472?v=3","gravatar_id":"","url":"https://api.github.com/users/RomanYankovsky","html_url":"https://github.com/RomanYankovsky","followers_url":"https://api.github.com/users/RomanYankovsky/followers","following_url":"https://api.github.com/users/RomanYankovsky/following{/other_user}","gists_url":"https://api.github.com/users/RomanYankovsky/gists{/gist_id}","starred_url":"https://api.github.com/users/RomanYankovsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RomanYankovsky/subscriptions","organizations_url":"https://api.github.com/users/RomanYankovsky/orgs","repos_url":"https://api.github.com/users/RomanYankovsky/repos","events_url":"https://api.github.com/users/RomanYankovsky/events{/privacy}","received_events_url":"https://api.github.com/users/RomanYankovsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RomanYankovsky/DelphiAST/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-18T21:43:49Z","updated_at":"2015-12-26T12:33:15Z","closed_at":"2015-12-26T12:33:15Z","body":"[12, 6] InvalidProceduralDirective found Realloc\r\n\r\n```delphi\r\n type\r\n   IThMalloc = packed record\r\n     Malloc: function(\r\n       const Size: Integer): Pointer; {$IFDEF MSWINDOWS}stdcall;{$ELSE}cdecl;{$ENDIF}\r\n     Realloc: function (Ptr: Pointer;\r\n       const Size: Integer): Pointer; {$IFDEF MSWINDOWS}stdcall;{$ELSE}cdecl;{$ENDIF}\r\n     Free: procedure(Ptr: Pointer); {$IFDEF MSWINDOWS}stdcall;{$ELSE}cdecl;{$ENDIF}\r\n   end;\r\n```\r\n\r\nSomething is wrong with compiler conditional. Everything is fine if you remove it."}}