{"action":"created","comment":{"url":"https://api.github.com/repos/jviereck/regjsparser/pulls/comments/36801152","id":36801152,"diff_hunk":"@@ -274,7 +274,7 @@\n     function createClassRange(min, max, from, to) {\n       // See 15.10.2.15:\n       if (min.codePoint > max.codePoint) {\n-        throw SyntaxError('invalid range in character class');\n+        bail('invalid range in character class: ' + min.raw + '-' + max.raw, from, to);","path":"parser.js","position":5,"original_position":5,"commit_id":"9001dabf500053acc34e3b5084d3cd10fed5db18","original_commit_id":"92461d5001eabe17ab787220a90fcfe3897df31b","user":{"login":"jviereck","id":191719,"avatar_url":"https://avatars.githubusercontent.com/u/191719?v=3","gravatar_id":"","url":"https://api.github.com/users/jviereck","html_url":"https://github.com/jviereck","followers_url":"https://api.github.com/users/jviereck/followers","following_url":"https://api.github.com/users/jviereck/following{/other_user}","gists_url":"https://api.github.com/users/jviereck/gists{/gist_id}","starred_url":"https://api.github.com/users/jviereck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviereck/subscriptions","organizations_url":"https://api.github.com/users/jviereck/orgs","repos_url":"https://api.github.com/users/jviereck/repos","events_url":"https://api.github.com/users/jviereck/events{/privacy}","received_events_url":"https://api.github.com/users/jviereck/received_events","type":"User","site_admin":false},"body":"Great. Also happy to chim in and do a bit of work here if you want - just let me know :)\n\nHave fun!\n\nOn August 11, 2015 11:18:19 PM GMT+02:00, Kevin Decker <notifications@github.com> wrote:\n>> @@ -274,7 +274,7 @@\n>>      function createClassRange(min, max, from, to) {\n>>        // See 15.10.2.15:\n>>        if (min.codePoint > max.codePoint) {\n>> -        throw SyntaxError('invalid range in character class');\n>> +        bail('invalid range in character class: ' + min.raw + '-' +\n>max.raw, from, to);\n>\n>Ok, I'll give this a spin and ping here when done.\n>\n>---\n>Reply to this email directly or view it on GitHub:\n>https://github.com/jviereck/regjsparser/pull/74/files#r36800317\n\n-- \nSent from my Android device with K-9 Mail. Please excuse my brevity.","created_at":"2015-08-11T21:25:18Z","updated_at":"2015-08-11T21:25:18Z","html_url":"https://github.com/jviereck/regjsparser/pull/74#discussion_r36801152","pull_request_url":"https://api.github.com/repos/jviereck/regjsparser/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/jviereck/regjsparser/pulls/comments/36801152"},"html":{"href":"https://github.com/jviereck/regjsparser/pull/74#discussion_r36801152"},"pull_request":{"href":"https://api.github.com/repos/jviereck/regjsparser/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/jviereck/regjsparser/pulls/74","id":41755593,"html_url":"https://github.com/jviereck/regjsparser/pull/74","diff_url":"https://github.com/jviereck/regjsparser/pull/74.diff","patch_url":"https://github.com/jviereck/regjsparser/pull/74.patch","issue_url":"https://api.github.com/repos/jviereck/regjsparser/issues/74","number":74,"state":"open","locked":false,"title":"Add bail helper for SyntaxErrors","user":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"body":"Includes current parser string in the output message for better debugging by users.\r\n\r\nThese changed helped debug babel compile issues.\r\n\r\n(Note, this wanted to open against gh-pages rather than default. If master is preferred, I'm glad to reopen)","created_at":"2015-08-06T06:27:35Z","updated_at":"2015-08-11T21:25:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4325dab371012c769d2999ecf7b5db53c8dfa71c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jviereck/regjsparser/pulls/74/commits","review_comments_url":"https://api.github.com/repos/jviereck/regjsparser/pulls/74/comments","review_comment_url":"https://api.github.com/repos/jviereck/regjsparser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jviereck/regjsparser/issues/74/comments","statuses_url":"https://api.github.com/repos/jviereck/regjsparser/statuses/9001dabf500053acc34e3b5084d3cd10fed5db18","head":{"label":"kpdecker:char-class-debug","ref":"char-class-debug","sha":"9001dabf500053acc34e3b5084d3cd10fed5db18","user":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"repo":{"id":40282045,"name":"regjsparser","full_name":"kpdecker/regjsparser","owner":{"login":"kpdecker","id":196390,"avatar_url":"https://avatars.githubusercontent.com/u/196390?v=3","gravatar_id":"","url":"https://api.github.com/users/kpdecker","html_url":"https://github.com/kpdecker","followers_url":"https://api.github.com/users/kpdecker/followers","following_url":"https://api.github.com/users/kpdecker/following{/other_user}","gists_url":"https://api.github.com/users/kpdecker/gists{/gist_id}","starred_url":"https://api.github.com/users/kpdecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpdecker/subscriptions","organizations_url":"https://api.github.com/users/kpdecker/orgs","repos_url":"https://api.github.com/users/kpdecker/repos","events_url":"https://api.github.com/users/kpdecker/events{/privacy}","received_events_url":"https://api.github.com/users/kpdecker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kpdecker/regjsparser","description":"Parsing the JavaScript's RegExp in JavaScript.","fork":true,"url":"https://api.github.com/repos/kpdecker/regjsparser","forks_url":"https://api.github.com/repos/kpdecker/regjsparser/forks","keys_url":"https://api.github.com/repos/kpdecker/regjsparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kpdecker/regjsparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kpdecker/regjsparser/teams","hooks_url":"https://api.github.com/repos/kpdecker/regjsparser/hooks","issue_events_url":"https://api.github.com/repos/kpdecker/regjsparser/issues/events{/number}","events_url":"https://api.github.com/repos/kpdecker/regjsparser/events","assignees_url":"https://api.github.com/repos/kpdecker/regjsparser/assignees{/user}","branches_url":"https://api.github.com/repos/kpdecker/regjsparser/branches{/branch}","tags_url":"https://api.github.com/repos/kpdecker/regjsparser/tags","blobs_url":"https://api.github.com/repos/kpdecker/regjsparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kpdecker/regjsparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kpdecker/regjsparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/kpdecker/regjsparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kpdecker/regjsparser/statuses/{sha}","languages_url":"https://api.github.com/repos/kpdecker/regjsparser/languages","stargazers_url":"https://api.github.com/repos/kpdecker/regjsparser/stargazers","contributors_url":"https://api.github.com/repos/kpdecker/regjsparser/contributors","subscribers_url":"https://api.github.com/repos/kpdecker/regjsparser/subscribers","subscription_url":"https://api.github.com/repos/kpdecker/regjsparser/subscription","commits_url":"https://api.github.com/repos/kpdecker/regjsparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/kpdecker/regjsparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/kpdecker/regjsparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/kpdecker/regjsparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/kpdecker/regjsparser/contents/{+path}","compare_url":"https://api.github.com/repos/kpdecker/regjsparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kpdecker/regjsparser/merges","archive_url":"https://api.github.com/repos/kpdecker/regjsparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kpdecker/regjsparser/downloads","issues_url":"https://api.github.com/repos/kpdecker/regjsparser/issues{/number}","pulls_url":"https://api.github.com/repos/kpdecker/regjsparser/pulls{/number}","milestones_url":"https://api.github.com/repos/kpdecker/regjsparser/milestones{/number}","notifications_url":"https://api.github.com/repos/kpdecker/regjsparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kpdecker/regjsparser/labels{/name}","releases_url":"https://api.github.com/repos/kpdecker/regjsparser/releases{/id}","created_at":"2015-08-06T03:21:32Z","updated_at":"2015-08-06T03:21:33Z","pushed_at":"2015-08-06T16:21:14Z","git_url":"git://github.com/kpdecker/regjsparser.git","ssh_url":"git@github.com:kpdecker/regjsparser.git","clone_url":"https://github.com/kpdecker/regjsparser.git","svn_url":"https://github.com/kpdecker/regjsparser","homepage":"http://www.julianviereck.de/regjsparser/","size":1034,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"jviereck:gh-pages","ref":"gh-pages","sha":"977fc6c2dbb58984a5ebc6d425b332894fe201fd","user":{"login":"jviereck","id":191719,"avatar_url":"https://avatars.githubusercontent.com/u/191719?v=3","gravatar_id":"","url":"https://api.github.com/users/jviereck","html_url":"https://github.com/jviereck","followers_url":"https://api.github.com/users/jviereck/followers","following_url":"https://api.github.com/users/jviereck/following{/other_user}","gists_url":"https://api.github.com/users/jviereck/gists{/gist_id}","starred_url":"https://api.github.com/users/jviereck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviereck/subscriptions","organizations_url":"https://api.github.com/users/jviereck/orgs","repos_url":"https://api.github.com/users/jviereck/repos","events_url":"https://api.github.com/users/jviereck/events{/privacy}","received_events_url":"https://api.github.com/users/jviereck/received_events","type":"User","site_admin":false},"repo":{"id":14087781,"name":"regjsparser","full_name":"jviereck/regjsparser","owner":{"login":"jviereck","id":191719,"avatar_url":"https://avatars.githubusercontent.com/u/191719?v=3","gravatar_id":"","url":"https://api.github.com/users/jviereck","html_url":"https://github.com/jviereck","followers_url":"https://api.github.com/users/jviereck/followers","following_url":"https://api.github.com/users/jviereck/following{/other_user}","gists_url":"https://api.github.com/users/jviereck/gists{/gist_id}","starred_url":"https://api.github.com/users/jviereck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviereck/subscriptions","organizations_url":"https://api.github.com/users/jviereck/orgs","repos_url":"https://api.github.com/users/jviereck/repos","events_url":"https://api.github.com/users/jviereck/events{/privacy}","received_events_url":"https://api.github.com/users/jviereck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jviereck/regjsparser","description":"Parsing the JavaScript's RegExp in JavaScript.","fork":false,"url":"https://api.github.com/repos/jviereck/regjsparser","forks_url":"https://api.github.com/repos/jviereck/regjsparser/forks","keys_url":"https://api.github.com/repos/jviereck/regjsparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jviereck/regjsparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jviereck/regjsparser/teams","hooks_url":"https://api.github.com/repos/jviereck/regjsparser/hooks","issue_events_url":"https://api.github.com/repos/jviereck/regjsparser/issues/events{/number}","events_url":"https://api.github.com/repos/jviereck/regjsparser/events","assignees_url":"https://api.github.com/repos/jviereck/regjsparser/assignees{/user}","branches_url":"https://api.github.com/repos/jviereck/regjsparser/branches{/branch}","tags_url":"https://api.github.com/repos/jviereck/regjsparser/tags","blobs_url":"https://api.github.com/repos/jviereck/regjsparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jviereck/regjsparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jviereck/regjsparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/jviereck/regjsparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jviereck/regjsparser/statuses/{sha}","languages_url":"https://api.github.com/repos/jviereck/regjsparser/languages","stargazers_url":"https://api.github.com/repos/jviereck/regjsparser/stargazers","contributors_url":"https://api.github.com/repos/jviereck/regjsparser/contributors","subscribers_url":"https://api.github.com/repos/jviereck/regjsparser/subscribers","subscription_url":"https://api.github.com/repos/jviereck/regjsparser/subscription","commits_url":"https://api.github.com/repos/jviereck/regjsparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/jviereck/regjsparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/jviereck/regjsparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/jviereck/regjsparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/jviereck/regjsparser/contents/{+path}","compare_url":"https://api.github.com/repos/jviereck/regjsparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jviereck/regjsparser/merges","archive_url":"https://api.github.com/repos/jviereck/regjsparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jviereck/regjsparser/downloads","issues_url":"https://api.github.com/repos/jviereck/regjsparser/issues{/number}","pulls_url":"https://api.github.com/repos/jviereck/regjsparser/pulls{/number}","milestones_url":"https://api.github.com/repos/jviereck/regjsparser/milestones{/number}","notifications_url":"https://api.github.com/repos/jviereck/regjsparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jviereck/regjsparser/labels{/name}","releases_url":"https://api.github.com/repos/jviereck/regjsparser/releases{/id}","created_at":"2013-11-03T15:35:34Z","updated_at":"2015-07-29T11:42:18Z","pushed_at":"2015-08-10T19:08:23Z","git_url":"git://github.com/jviereck/regjsparser.git","ssh_url":"git@github.com:jviereck/regjsparser.git","clone_url":"https://github.com/jviereck/regjsparser.git","svn_url":"https://github.com/jviereck/regjsparser","homepage":"http://www.julianviereck.de/regjsparser/","size":1649,"stargazers_count":16,"watchers_count":16,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":10,"forks":4,"open_issues":10,"watchers":16,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/jviereck/regjsparser/pulls/74"},"html":{"href":"https://github.com/jviereck/regjsparser/pull/74"},"issue":{"href":"https://api.github.com/repos/jviereck/regjsparser/issues/74"},"comments":{"href":"https://api.github.com/repos/jviereck/regjsparser/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/jviereck/regjsparser/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/jviereck/regjsparser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jviereck/regjsparser/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/jviereck/regjsparser/statuses/9001dabf500053acc34e3b5084d3cd10fed5db18"}}}}