{"action":"closed","issue":{"url":"https://api.github.com/repos/openscad/openscad/issues/214","repository_url":"https://api.github.com/repos/openscad/openscad","labels_url":"https://api.github.com/repos/openscad/openscad/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/openscad/openscad/issues/214/comments","events_url":"https://api.github.com/repos/openscad/openscad/issues/214/events","html_url":"https://github.com/openscad/openscad/issues/214","id":7963116,"number":214,"title":"Syntax errors don't display the file show an incorrect line number","user":{"login":"nophead","id":566149,"avatar_url":"https://avatars.githubusercontent.com/u/566149?v=3","gravatar_id":"","url":"https://api.github.com/users/nophead","html_url":"https://github.com/nophead","followers_url":"https://api.github.com/users/nophead/followers","following_url":"https://api.github.com/users/nophead/following{/other_user}","gists_url":"https://api.github.com/users/nophead/gists{/gist_id}","starred_url":"https://api.github.com/users/nophead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nophead/subscriptions","organizations_url":"https://api.github.com/users/nophead/orgs","repos_url":"https://api.github.com/users/nophead/repos","events_url":"https://api.github.com/users/nophead/events{/privacy}","received_events_url":"https://api.github.com/users/nophead/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2012-10-30T09:56:14Z","updated_at":"2016-05-27T20:54:57Z","closed_at":"2016-05-27T20:54:57Z","body":"A syntax error message gives just a line number but it is not the line number in the current file. It includes all the lines in included files, so is no use for locating the error. Indeed the error might be in one of the included files, so it needs to display a file name in that case as well.\r\n\r\nWith a large project finding where the syntax error is is like trying to find a needle in a hay stack. One has to create a deliberate error and see if the reported number is less and them move it around to home in.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/218791-syntax-errors-don-t-display-the-file-show-an-incorrect-line-number?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F52063&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}
{"actor":{"display_login":"kintel"}}