{"action":"closed","number":225,"pull_request":{"url":"https://api.github.com/repos/pegjs/pegjs/pulls/225","id":11228101,"html_url":"https://github.com/pegjs/pegjs/pull/225","diff_url":"https://github.com/pegjs/pegjs/pull/225.diff","patch_url":"https://github.com/pegjs/pegjs/pull/225.patch","issue_url":"https://api.github.com/repos/pegjs/pegjs/issues/225","number":225,"state":"closed","locked":false,"title":"Improve error messages for GrammarError","user":{"login":"Mingun","id":450131,"avatar_url":"https://avatars.githubusercontent.com/u/450131?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingun","html_url":"https://github.com/Mingun","followers_url":"https://api.github.com/users/Mingun/followers","following_url":"https://api.github.com/users/Mingun/following{/other_user}","gists_url":"https://api.github.com/users/Mingun/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingun/subscriptions","organizations_url":"https://api.github.com/users/Mingun/orgs","repos_url":"https://api.github.com/users/Mingun/repos","events_url":"https://api.github.com/users/Mingun/events{/privacy}","received_events_url":"https://api.github.com/users/Mingun/received_events","type":"User","site_admin":false},"body":"`report-missing-rules` and `report-left-recursion` now has info, where problem found (line and column).\r\n\r\nFor example:\r\n```\r\nstart\r\n  = missed;\r\n```\r\nNow, error message `Referenced rule \"missed\" does not exist.`. After merging pull request it will be `Line 2, column 5: Referenced rule \"missed\" does not exist.`\r\n\r\n```\r\nstart\r\n  = b;\r\nb = start;\r\n```\r\nNow, error message `Left recursion detected for rule \"start\".`. After merging pull request it will be `Line 3, column 5: Left recursion detected for rule \"start\".`","created_at":"2014-01-04T12:35:43Z","updated_at":"2015-04-06T17:11:58Z","closed_at":"2015-04-06T17:11:58Z","merged_at":null,"merge_commit_sha":"35520b978dabfdb471e9bb64d9d19cde36fe662c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pegjs/pegjs/pulls/225/commits","review_comments_url":"https://api.github.com/repos/pegjs/pegjs/pulls/225/comments","review_comment_url":"https://api.github.com/repos/pegjs/pegjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pegjs/pegjs/issues/225/comments","statuses_url":"https://api.github.com/repos/pegjs/pegjs/statuses/9639ca3e435b4983de9d2ac810973a7c72bae0fa","head":{"label":"Mingun:more-AST-info","ref":"more-AST-info","sha":"9639ca3e435b4983de9d2ac810973a7c72bae0fa","user":{"login":"Mingun","id":450131,"avatar_url":"https://avatars.githubusercontent.com/u/450131?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingun","html_url":"https://github.com/Mingun","followers_url":"https://api.github.com/users/Mingun/followers","following_url":"https://api.github.com/users/Mingun/following{/other_user}","gists_url":"https://api.github.com/users/Mingun/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingun/subscriptions","organizations_url":"https://api.github.com/users/Mingun/orgs","repos_url":"https://api.github.com/users/Mingun/repos","events_url":"https://api.github.com/users/Mingun/events{/privacy}","received_events_url":"https://api.github.com/users/Mingun/received_events","type":"User","site_admin":false},"repo":{"id":12870423,"name":"pegjs","full_name":"Mingun/pegjs","owner":{"login":"Mingun","id":450131,"avatar_url":"https://avatars.githubusercontent.com/u/450131?v=3","gravatar_id":"","url":"https://api.github.com/users/Mingun","html_url":"https://github.com/Mingun","followers_url":"https://api.github.com/users/Mingun/followers","following_url":"https://api.github.com/users/Mingun/following{/other_user}","gists_url":"https://api.github.com/users/Mingun/gists{/gist_id}","starred_url":"https://api.github.com/users/Mingun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mingun/subscriptions","organizations_url":"https://api.github.com/users/Mingun/orgs","repos_url":"https://api.github.com/users/Mingun/repos","events_url":"https://api.github.com/users/Mingun/events{/privacy}","received_events_url":"https://api.github.com/users/Mingun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mingun/pegjs","description":"PEG.js: Parser Generator for JavaScript","fork":true,"url":"https://api.github.com/repos/Mingun/pegjs","forks_url":"https://api.github.com/repos/Mingun/pegjs/forks","keys_url":"https://api.github.com/repos/Mingun/pegjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mingun/pegjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mingun/pegjs/teams","hooks_url":"https://api.github.com/repos/Mingun/pegjs/hooks","issue_events_url":"https://api.github.com/repos/Mingun/pegjs/issues/events{/number}","events_url":"https://api.github.com/repos/Mingun/pegjs/events","assignees_url":"https://api.github.com/repos/Mingun/pegjs/assignees{/user}","branches_url":"https://api.github.com/repos/Mingun/pegjs/branches{/branch}","tags_url":"https://api.github.com/repos/Mingun/pegjs/tags","blobs_url":"https://api.github.com/repos/Mingun/pegjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mingun/pegjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mingun/pegjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mingun/pegjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mingun/pegjs/statuses/{sha}","languages_url":"https://api.github.com/repos/Mingun/pegjs/languages","stargazers_url":"https://api.github.com/repos/Mingun/pegjs/stargazers","contributors_url":"https://api.github.com/repos/Mingun/pegjs/contributors","subscribers_url":"https://api.github.com/repos/Mingun/pegjs/subscribers","subscription_url":"https://api.github.com/repos/Mingun/pegjs/subscription","commits_url":"https://api.github.com/repos/Mingun/pegjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mingun/pegjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mingun/pegjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mingun/pegjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mingun/pegjs/contents/{+path}","compare_url":"https://api.github.com/repos/Mingun/pegjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mingun/pegjs/merges","archive_url":"https://api.github.com/repos/Mingun/pegjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mingun/pegjs/downloads","issues_url":"https://api.github.com/repos/Mingun/pegjs/issues{/number}","pulls_url":"https://api.github.com/repos/Mingun/pegjs/pulls{/number}","milestones_url":"https://api.github.com/repos/Mingun/pegjs/milestones{/number}","notifications_url":"https://api.github.com/repos/Mingun/pegjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mingun/pegjs/labels{/name}","releases_url":"https://api.github.com/repos/Mingun/pegjs/releases{/id}","created_at":"2013-09-16T15:07:42Z","updated_at":"2014-12-19T18:15:00Z","pushed_at":"2014-12-19T18:17:03Z","git_url":"git://github.com/Mingun/pegjs.git","ssh_url":"git@github.com:Mingun/pegjs.git","clone_url":"https://github.com/Mingun/pegjs.git","svn_url":"https://github.com/Mingun/pegjs","homepage":"http://pegjs.majda.cz/","size":3803,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pegjs:master","ref":"master","sha":"5a2ca2abc77e61e726c025b31b686bec05ff8535","user":{"login":"pegjs","id":9988648,"avatar_url":"https://avatars.githubusercontent.com/u/9988648?v=3","gravatar_id":"","url":"https://api.github.com/users/pegjs","html_url":"https://github.com/pegjs","followers_url":"https://api.github.com/users/pegjs/followers","following_url":"https://api.github.com/users/pegjs/following{/other_user}","gists_url":"https://api.github.com/users/pegjs/gists{/gist_id}","starred_url":"https://api.github.com/users/pegjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pegjs/subscriptions","organizations_url":"https://api.github.com/users/pegjs/orgs","repos_url":"https://api.github.com/users/pegjs/repos","events_url":"https://api.github.com/users/pegjs/events{/privacy}","received_events_url":"https://api.github.com/users/pegjs/received_events","type":"Organization","site_admin":false},"repo":{"id":602604,"name":"pegjs","full_name":"pegjs/pegjs","owner":{"login":"pegjs","id":9988648,"avatar_url":"https://avatars.githubusercontent.com/u/9988648?v=3","gravatar_id":"","url":"https://api.github.com/users/pegjs","html_url":"https://github.com/pegjs","followers_url":"https://api.github.com/users/pegjs/followers","following_url":"https://api.github.com/users/pegjs/following{/other_user}","gists_url":"https://api.github.com/users/pegjs/gists{/gist_id}","starred_url":"https://api.github.com/users/pegjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pegjs/subscriptions","organizations_url":"https://api.github.com/users/pegjs/orgs","repos_url":"https://api.github.com/users/pegjs/repos","events_url":"https://api.github.com/users/pegjs/events{/privacy}","received_events_url":"https://api.github.com/users/pegjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pegjs/pegjs","description":"PEG.js: Parser generator for JavaScript","fork":false,"url":"https://api.github.com/repos/pegjs/pegjs","forks_url":"https://api.github.com/repos/pegjs/pegjs/forks","keys_url":"https://api.github.com/repos/pegjs/pegjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pegjs/pegjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pegjs/pegjs/teams","hooks_url":"https://api.github.com/repos/pegjs/pegjs/hooks","issue_events_url":"https://api.github.com/repos/pegjs/pegjs/issues/events{/number}","events_url":"https://api.github.com/repos/pegjs/pegjs/events","assignees_url":"https://api.github.com/repos/pegjs/pegjs/assignees{/user}","branches_url":"https://api.github.com/repos/pegjs/pegjs/branches{/branch}","tags_url":"https://api.github.com/repos/pegjs/pegjs/tags","blobs_url":"https://api.github.com/repos/pegjs/pegjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pegjs/pegjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pegjs/pegjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/pegjs/pegjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pegjs/pegjs/statuses/{sha}","languages_url":"https://api.github.com/repos/pegjs/pegjs/languages","stargazers_url":"https://api.github.com/repos/pegjs/pegjs/stargazers","contributors_url":"https://api.github.com/repos/pegjs/pegjs/contributors","subscribers_url":"https://api.github.com/repos/pegjs/pegjs/subscribers","subscription_url":"https://api.github.com/repos/pegjs/pegjs/subscription","commits_url":"https://api.github.com/repos/pegjs/pegjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/pegjs/pegjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/pegjs/pegjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/pegjs/pegjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/pegjs/pegjs/contents/{+path}","compare_url":"https://api.github.com/repos/pegjs/pegjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pegjs/pegjs/merges","archive_url":"https://api.github.com/repos/pegjs/pegjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pegjs/pegjs/downloads","issues_url":"https://api.github.com/repos/pegjs/pegjs/issues{/number}","pulls_url":"https://api.github.com/repos/pegjs/pegjs/pulls{/number}","milestones_url":"https://api.github.com/repos/pegjs/pegjs/milestones{/number}","notifications_url":"https://api.github.com/repos/pegjs/pegjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pegjs/pegjs/labels{/name}","releases_url":"https://api.github.com/repos/pegjs/pegjs/releases{/id}","created_at":"2010-04-09T15:27:18Z","updated_at":"2015-04-06T15:36:46Z","pushed_at":"2015-04-06T15:36:45Z","git_url":"git://github.com/pegjs/pegjs.git","ssh_url":"git@github.com:pegjs/pegjs.git","clone_url":"https://github.com/pegjs/pegjs.git","svn_url":"https://github.com/pegjs/pegjs","homepage":"http://pegjs.majda.cz/","size":5006,"stargazers_count":1323,"watchers_count":1323,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":186,"mirror_url":null,"open_issues_count":77,"forks":186,"open_issues":77,"watchers":1323,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pegjs/pegjs/pulls/225"},"html":{"href":"https://github.com/pegjs/pegjs/pull/225"},"issue":{"href":"https://api.github.com/repos/pegjs/pegjs/issues/225"},"comments":{"href":"https://api.github.com/repos/pegjs/pegjs/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/pegjs/pegjs/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/pegjs/pegjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pegjs/pegjs/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/pegjs/pegjs/statuses/9639ca3e435b4983de9d2ac810973a7c72bae0fa"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"commits":4,"additions":128,"deletions":30,"changed_files":9}}