{"action":"created","issue":{"url":"https://api.github.com/repos/vstakhov/libucl/issues/100","labels_url":"https://api.github.com/repos/vstakhov/libucl/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/vstakhov/libucl/issues/100/comments","events_url":"https://api.github.com/repos/vstakhov/libucl/issues/100/events","html_url":"https://github.com/vstakhov/libucl/issues/100","id":98079019,"number":100,"title":".inherit macro","user":{"login":"allanjude","id":1096028,"avatar_url":"https://avatars.githubusercontent.com/u/1096028?v=3","gravatar_id":"","url":"https://api.github.com/users/allanjude","html_url":"https://github.com/allanjude","followers_url":"https://api.github.com/users/allanjude/followers","following_url":"https://api.github.com/users/allanjude/following{/other_user}","gists_url":"https://api.github.com/users/allanjude/gists{/gist_id}","starred_url":"https://api.github.com/users/allanjude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanjude/subscriptions","organizations_url":"https://api.github.com/users/allanjude/orgs","repos_url":"https://api.github.com/users/allanjude/repos","events_url":"https://api.github.com/users/allanjude/events{/privacy}","received_events_url":"https://api.github.com/users/allanjude/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-30T03:50:48Z","updated_at":"2015-07-30T14:45:01Z","closed_at":"2015-07-30T14:45:01Z","body":"For specifying defaults\r\n\r\ndefaults {\r\n  key = \"val\"\r\n  foo = \"bar\"\r\n  many = \"values here\"\r\n}\r\n\r\nmything {\r\n  .inherit \"defaults\"\r\n  key = \"newval\"\r\n}\r\n\r\n\r\nresults in:\r\nmything {\r\n  foo = \"bar\"\r\n  many = \"values here\"\r\n  key = \"newval\"\r\n}\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25148373-inherit-macro?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F483345&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/vstakhov/libucl/issues/comments/126353098","html_url":"https://github.com/vstakhov/libucl/issues/100#issuecomment-126353098","issue_url":"https://api.github.com/repos/vstakhov/libucl/issues/100","id":126353098,"user":{"login":"allanjude","id":1096028,"avatar_url":"https://avatars.githubusercontent.com/u/1096028?v=3","gravatar_id":"","url":"https://api.github.com/users/allanjude","html_url":"https://github.com/allanjude","followers_url":"https://api.github.com/users/allanjude/followers","following_url":"https://api.github.com/users/allanjude/following{/other_user}","gists_url":"https://api.github.com/users/allanjude/gists{/gist_id}","starred_url":"https://api.github.com/users/allanjude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allanjude/subscriptions","organizations_url":"https://api.github.com/users/allanjude/orgs","repos_url":"https://api.github.com/users/allanjude/repos","events_url":"https://api.github.com/users/allanjude/events{/privacy}","received_events_url":"https://api.github.com/users/allanjude/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T14:45:01Z","updated_at":"2015-07-30T14:45:01Z","body":"This was just a todo item for myself, thanks for jumping on it so quick. I plan to use this as part of converting login.conf to UCL in FreeBSD."}}