{"action":"closed","issue":{"url":"https://api.github.com/repos/Ludusamo/ToyLanguage/issues/17","repository_url":"https://api.github.com/repos/Ludusamo/ToyLanguage","labels_url":"https://api.github.com/repos/Ludusamo/ToyLanguage/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Ludusamo/ToyLanguage/issues/17/comments","events_url":"https://api.github.com/repos/Ludusamo/ToyLanguage/issues/17/events","html_url":"https://github.com/Ludusamo/ToyLanguage/issues/17","id":174970548,"number":17,"title":"EOF does not Exit Depth","user":{"login":"Ludusamo","id":5598864,"avatar_url":"https://avatars.githubusercontent.com/u/5598864?v=3","gravatar_id":"","url":"https://api.github.com/users/Ludusamo","html_url":"https://github.com/Ludusamo","followers_url":"https://api.github.com/users/Ludusamo/followers","following_url":"https://api.github.com/users/Ludusamo/following{/other_user}","gists_url":"https://api.github.com/users/Ludusamo/gists{/gist_id}","starred_url":"https://api.github.com/users/Ludusamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ludusamo/subscriptions","organizations_url":"https://api.github.com/users/Ludusamo/orgs","repos_url":"https://api.github.com/users/Ludusamo/repos","events_url":"https://api.github.com/users/Ludusamo/events{/privacy}","received_events_url":"https://api.github.com/users/Ludusamo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Ludusamo","id":5598864,"avatar_url":"https://avatars.githubusercontent.com/u/5598864?v=3","gravatar_id":"","url":"https://api.github.com/users/Ludusamo","html_url":"https://github.com/Ludusamo","followers_url":"https://api.github.com/users/Ludusamo/followers","following_url":"https://api.github.com/users/Ludusamo/following{/other_user}","gists_url":"https://api.github.com/users/Ludusamo/gists{/gist_id}","starred_url":"https://api.github.com/users/Ludusamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ludusamo/subscriptions","organizations_url":"https://api.github.com/users/Ludusamo/orgs","repos_url":"https://api.github.com/users/Ludusamo/repos","events_url":"https://api.github.com/users/Ludusamo/events{/privacy}","received_events_url":"https://api.github.com/users/Ludusamo/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ludusamo","id":5598864,"avatar_url":"https://avatars.githubusercontent.com/u/5598864?v=3","gravatar_id":"","url":"https://api.github.com/users/Ludusamo","html_url":"https://github.com/Ludusamo","followers_url":"https://api.github.com/users/Ludusamo/followers","following_url":"https://api.github.com/users/Ludusamo/following{/other_user}","gists_url":"https://api.github.com/users/Ludusamo/gists{/gist_id}","starred_url":"https://api.github.com/users/Ludusamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ludusamo/subscriptions","organizations_url":"https://api.github.com/users/Ludusamo/orgs","repos_url":"https://api.github.com/users/Ludusamo/repos","events_url":"https://api.github.com/users/Ludusamo/events{/privacy}","received_events_url":"https://api.github.com/users/Ludusamo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-09-04T21:25:04Z","updated_at":"2016-09-04T21:35:06Z","closed_at":"2016-09-04T21:35:06Z","body":"## Issue\r\nWhen the end of a file is reached, the depth is not reset back to zero so `PDA` (Post Depth Actions) do not occur. This results in invalid bytecode.\r\n\r\n## Expected Behaviour\r\nWhen a file ends, all depths should be exited and rest back to zero.\r\n```C\r\nif (1 == 2) // Depth 0\r\n    if (2 == 3) // Depth 1\r\n        if (4 == 4) // Depth 2\r\n// EOF should be Depth 0 again without a blank line needed\r\n```\r\n\r\n## Actual Behaviour\r\nWhen a file ends, depths are not exited and `PDA` do not occur.\r\n```C\r\nif (1 == 2) // Depth 0\r\n    if (2 == 3) // Depth 1\r\n        if (4 == 4) // Depth 2\r\n```\r\n\r\n## Additional Details\r\nThis can be easily rectified by putting in a false `BLANK_NODE` at the end of the file."}}
{"actor":{"display_login":"Ludusamo"}}