{"action":"created","issue":{"url":"https://api.github.com/repos/tomhrr/dale/issues/35","labels_url":"https://api.github.com/repos/tomhrr/dale/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/tomhrr/dale/issues/35/comments","events_url":"https://api.github.com/repos/tomhrr/dale/issues/35/events","html_url":"https://github.com/tomhrr/dale/issues/35","id":68237164,"number":35,"title":"Segmentation fault with macros","user":{"login":"BitPuffin","id":657581,"avatar_url":"https://avatars.githubusercontent.com/u/657581?v=3","gravatar_id":"","url":"https://api.github.com/users/BitPuffin","html_url":"https://github.com/BitPuffin","followers_url":"https://api.github.com/users/BitPuffin/followers","following_url":"https://api.github.com/users/BitPuffin/following{/other_user}","gists_url":"https://api.github.com/users/BitPuffin/gists{/gist_id}","starred_url":"https://api.github.com/users/BitPuffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BitPuffin/subscriptions","organizations_url":"https://api.github.com/users/BitPuffin/orgs","repos_url":"https://api.github.com/users/BitPuffin/repos","events_url":"https://api.github.com/users/BitPuffin/events{/privacy}","received_events_url":"https://api.github.com/users/BitPuffin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T01:54:43Z","updated_at":"2015-04-14T02:06:17Z","closed_at":null,"body":"I'm not sure what I'm doing wrong but I'm getting another segmentation fault. On OSX. Here is the code:\r\n\r\n``` dale\r\n(import macros)\r\n\r\n(using-namespace std.macros\r\n  (def def-type-alias (macro extern (new old)\r\n    (qq def (uq new) (macro extern ()\r\n      old)))))\r\n```\r\n\r\n``` zsh\r\n% dalec def-type-alias.dt\r\nzsh: segmentation fault  dalec def-type-alias.dt\r\n```"},"comment":{"url":"https://api.github.com/repos/tomhrr/dale/issues/comments/92561406","html_url":"https://github.com/tomhrr/dale/issues/35#issuecomment-92561406","issue_url":"https://api.github.com/repos/tomhrr/dale/issues/35","id":92561406,"user":{"login":"tomhrr","id":3089214,"avatar_url":"https://avatars.githubusercontent.com/u/3089214?v=3","gravatar_id":"","url":"https://api.github.com/users/tomhrr","html_url":"https://github.com/tomhrr","followers_url":"https://api.github.com/users/tomhrr/followers","following_url":"https://api.github.com/users/tomhrr/following{/other_user}","gists_url":"https://api.github.com/users/tomhrr/gists{/gist_id}","starred_url":"https://api.github.com/users/tomhrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomhrr/subscriptions","organizations_url":"https://api.github.com/users/tomhrr/orgs","repos_url":"https://api.github.com/users/tomhrr/repos","events_url":"https://api.github.com/users/tomhrr/events{/privacy}","received_events_url":"https://api.github.com/users/tomhrr/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T02:06:17Z","updated_at":"2015-04-14T02:06:17Z","body":"If a macro doesn't take parameters, it should have '(void)', rather than\n'()', as its parameter list.  The error message could be better, though. :)\n\nOn Tue, Apr 14, 2015 at 11:54 AM, Isak Andersson <notifications@github.com>\nwrote:\n\n> I'm not sure what I'm doing wrong but I'm getting another segmentation\n> fault. On OSX. Here is the code:\n>\n> (import macros)\n>\n> (using-namespace std.macros\n>   (def def-type-alias (macro extern (new old)\n>     (qq def (uq new) (macro extern ()\n>       old)))))\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/tomhrr/dale/issues/35>.\n>\n"}}