{"action":"opened","issue":{"url":"https://api.github.com/repos/svaarala/duktape/issues/460","labels_url":"https://api.github.com/repos/svaarala/duktape/issues/460/labels{/name}","comments_url":"https://api.github.com/repos/svaarala/duktape/issues/460/comments","events_url":"https://api.github.com/repos/svaarala/duktape/issues/460/events","html_url":"https://github.com/svaarala/duktape/issues/460","id":118981363,"number":460,"title":"Syntax errors include line number in message","user":{"login":"fatcerberus","id":4097841,"avatar_url":"https://avatars.githubusercontent.com/u/4097841?v=3","gravatar_id":"","url":"https://api.github.com/users/fatcerberus","html_url":"https://github.com/fatcerberus","followers_url":"https://api.github.com/users/fatcerberus/followers","following_url":"https://api.github.com/users/fatcerberus/following{/other_user}","gists_url":"https://api.github.com/users/fatcerberus/gists{/gist_id}","starred_url":"https://api.github.com/users/fatcerberus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatcerberus/subscriptions","organizations_url":"https://api.github.com/users/fatcerberus/orgs","repos_url":"https://api.github.com/users/fatcerberus/repos","events_url":"https://api.github.com/users/fatcerberus/events{/privacy}","received_events_url":"https://api.github.com/users/fatcerberus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-26T06:33:25Z","updated_at":"2015-11-26T06:33:25Z","closed_at":null,"body":"This is just a minor cosmetic issue, but since there is ongoing work on error messages for 1.4.0 already, I figured now would be a good time to address it.  A syntax error currently includes a line number as part of the error text:\r\n```\r\nSyntaxError: empty expression not allowed (line 30)\r\n```\r\n\r\nSince the SyntaxError object already includes the relevant filename and line number in its trace data or directly as own properties if those are disabled, this seems redundant."}}