{"action":"created","comment":{"url":"https://api.github.com/repos/php/php-langspec/pulls/comments/89671851","pull_request_review_id":10215405,"id":89671851,"diff_hunk":"@@ -43,25 +43,38 @@ successive indented line contains a possible expansion of the\n non-terminal given as a sequence of non-terminal or terminal symbols.\n For example, the production:\n \n+<!-- GRAMMAR\n+single-line-comment-example::\n+  '//' input-characters?\n+  '#' input-characters?\n+-->\n+\n <pre>\n-  <i>single-line-comment::</i>\n-    // input-characters<sub>opt</sub>\n-    #  input-characters<sub>opt</sub>\n+<a name=\"grammar-single-line-comment-example\"><i>single-line-comment-example::</i>\n+   //   <i><a href=\"#grammar-input-characters\">input-characters</a></i><sub>opt</sub>\n+   #   <i><a href=\"#grammar-input-characters\">input-characters</a></i><sub>opt</sub>\n </pre>\n \n-defines the lexical grammar production *single-line-comment* as being\n+defines the lexical grammar production *single-line-comment-example* as being\n the terminals `//` or `#`, followed by an optional *input-characters*. Each\n expansion is listed on a separate line.\n \n Although alternatives are usually listed on separate lines, when there\n is a large number, the shorthand phrase “one of” may precede a list of\n expansions given on a single line. For example,\n \n+<!-- GRAMMAR\n+hexadecimal-digit-example:: one of\n+  '0' '1' '2' '3' '4' '5' '6' '7' '8' '9'\n+  'a' 'b' 'c' 'd' 'e' 'f'\n+  'A' 'B' 'C' 'D' 'E' 'F'\n+-->\n+\n <pre>\n-  <i>hexadecimal-digit:: one of</i>\n-    0   1   2   3   4   5   6   7   8   9\n-    a   b   c   d   e   f\n-    A   B   C   D   E   F\n+<a name=\"grammar-hexadecimal-digit-example\"><i>hexadecimal-digit-example:: one of</i>","path":"spec/09-lexical-structure.md","position":40,"original_position":40,"commit_id":"9be31c57aa7e6b0e6a78118b42ad6211209a66c6","original_commit_id":"9be31c57aa7e6b0e6a78118b42ad6211209a66c6","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"body":"The `<a`> element does not have a closing one.","created_at":"2016-11-26T13:44:25Z","updated_at":"2016-11-26T13:45:50Z","html_url":"https://github.com/php/php-langspec/pull/178#discussion_r89671851","pull_request_url":"https://api.github.com/repos/php/php-langspec/pulls/178","_links":{"self":{"href":"https://api.github.com/repos/php/php-langspec/pulls/comments/89671851"},"html":{"href":"https://github.com/php/php-langspec/pull/178#discussion_r89671851"},"pull_request":{"href":"https://api.github.com/repos/php/php-langspec/pulls/178"}}},"pull_request":{"url":"https://api.github.com/repos/php/php-langspec/pulls/178","id":95351042,"html_url":"https://github.com/php/php-langspec/pull/178","diff_url":"https://github.com/php/php-langspec/pull/178.diff","patch_url":"https://github.com/php/php-langspec/pull/178.patch","issue_url":"https://api.github.com/repos/php/php-langspec/issues/178","number":178,"state":"closed","locked":false,"title":"Make grammar cross-referenced (generated)","user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-25T22:22:51Z","updated_at":"2016-11-26T13:45:50Z","closed_at":"2016-11-26T12:28:21Z","merged_at":null,"merge_commit_sha":"aa51d9f0d8b9fb3ca50ac26165066b6831aafc48","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/php/php-langspec/pulls/178/commits","review_comments_url":"https://api.github.com/repos/php/php-langspec/pulls/178/comments","review_comment_url":"https://api.github.com/repos/php/php-langspec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php/php-langspec/issues/178/comments","statuses_url":"https://api.github.com/repos/php/php-langspec/statuses/9be31c57aa7e6b0e6a78118b42ad6211209a66c6","head":{"label":"nikic:extractGrammar","ref":"extractGrammar","sha":"9be31c57aa7e6b0e6a78118b42ad6211209a66c6","user":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"repo":{"id":28779507,"name":"php-langspec","full_name":"nikic/php-langspec","owner":{"login":"nikic","id":216080,"avatar_url":"https://avatars.githubusercontent.com/u/216080?v=3","gravatar_id":"","url":"https://api.github.com/users/nikic","html_url":"https://github.com/nikic","followers_url":"https://api.github.com/users/nikic/followers","following_url":"https://api.github.com/users/nikic/following{/other_user}","gists_url":"https://api.github.com/users/nikic/gists{/gist_id}","starred_url":"https://api.github.com/users/nikic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikic/subscriptions","organizations_url":"https://api.github.com/users/nikic/orgs","repos_url":"https://api.github.com/users/nikic/repos","events_url":"https://api.github.com/users/nikic/events{/privacy}","received_events_url":"https://api.github.com/users/nikic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nikic/php-langspec","description":"PHP Language Specification","fork":true,"url":"https://api.github.com/repos/nikic/php-langspec","forks_url":"https://api.github.com/repos/nikic/php-langspec/forks","keys_url":"https://api.github.com/repos/nikic/php-langspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nikic/php-langspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nikic/php-langspec/teams","hooks_url":"https://api.github.com/repos/nikic/php-langspec/hooks","issue_events_url":"https://api.github.com/repos/nikic/php-langspec/issues/events{/number}","events_url":"https://api.github.com/repos/nikic/php-langspec/events","assignees_url":"https://api.github.com/repos/nikic/php-langspec/assignees{/user}","branches_url":"https://api.github.com/repos/nikic/php-langspec/branches{/branch}","tags_url":"https://api.github.com/repos/nikic/php-langspec/tags","blobs_url":"https://api.github.com/repos/nikic/php-langspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nikic/php-langspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nikic/php-langspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/nikic/php-langspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nikic/php-langspec/statuses/{sha}","languages_url":"https://api.github.com/repos/nikic/php-langspec/languages","stargazers_url":"https://api.github.com/repos/nikic/php-langspec/stargazers","contributors_url":"https://api.github.com/repos/nikic/php-langspec/contributors","subscribers_url":"https://api.github.com/repos/nikic/php-langspec/subscribers","subscription_url":"https://api.github.com/repos/nikic/php-langspec/subscription","commits_url":"https://api.github.com/repos/nikic/php-langspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/nikic/php-langspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/nikic/php-langspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/nikic/php-langspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/nikic/php-langspec/contents/{+path}","compare_url":"https://api.github.com/repos/nikic/php-langspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nikic/php-langspec/merges","archive_url":"https://api.github.com/repos/nikic/php-langspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nikic/php-langspec/downloads","issues_url":"https://api.github.com/repos/nikic/php-langspec/issues{/number}","pulls_url":"https://api.github.com/repos/nikic/php-langspec/pulls{/number}","milestones_url":"https://api.github.com/repos/nikic/php-langspec/milestones{/number}","notifications_url":"https://api.github.com/repos/nikic/php-langspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nikic/php-langspec/labels{/name}","releases_url":"https://api.github.com/repos/nikic/php-langspec/releases{/id}","deployments_url":"https://api.github.com/repos/nikic/php-langspec/deployments","created_at":"2015-01-04T16:36:40Z","updated_at":"2015-01-04T16:36:43Z","pushed_at":"2016-11-25T22:40:08Z","git_url":"git://github.com/nikic/php-langspec.git","ssh_url":"git@github.com:nikic/php-langspec.git","clone_url":"https://github.com/nikic/php-langspec.git","svn_url":"https://github.com/nikic/php-langspec","homepage":"http://www.php.net","size":2150,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"php:master","ref":"master","sha":"bb8f2d45961447e4deb4e730c8a2c0fb3d525bcd","user":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"repo":{"id":22359052,"name":"php-langspec","full_name":"php/php-langspec","owner":{"login":"php","id":25158,"avatar_url":"https://avatars.githubusercontent.com/u/25158?v=3","gravatar_id":"","url":"https://api.github.com/users/php","html_url":"https://github.com/php","followers_url":"https://api.github.com/users/php/followers","following_url":"https://api.github.com/users/php/following{/other_user}","gists_url":"https://api.github.com/users/php/gists{/gist_id}","starred_url":"https://api.github.com/users/php/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php/subscriptions","organizations_url":"https://api.github.com/users/php/orgs","repos_url":"https://api.github.com/users/php/repos","events_url":"https://api.github.com/users/php/events{/privacy}","received_events_url":"https://api.github.com/users/php/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php/php-langspec","description":"PHP Language Specification","fork":false,"url":"https://api.github.com/repos/php/php-langspec","forks_url":"https://api.github.com/repos/php/php-langspec/forks","keys_url":"https://api.github.com/repos/php/php-langspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php/php-langspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php/php-langspec/teams","hooks_url":"https://api.github.com/repos/php/php-langspec/hooks","issue_events_url":"https://api.github.com/repos/php/php-langspec/issues/events{/number}","events_url":"https://api.github.com/repos/php/php-langspec/events","assignees_url":"https://api.github.com/repos/php/php-langspec/assignees{/user}","branches_url":"https://api.github.com/repos/php/php-langspec/branches{/branch}","tags_url":"https://api.github.com/repos/php/php-langspec/tags","blobs_url":"https://api.github.com/repos/php/php-langspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php/php-langspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php/php-langspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/php/php-langspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php/php-langspec/statuses/{sha}","languages_url":"https://api.github.com/repos/php/php-langspec/languages","stargazers_url":"https://api.github.com/repos/php/php-langspec/stargazers","contributors_url":"https://api.github.com/repos/php/php-langspec/contributors","subscribers_url":"https://api.github.com/repos/php/php-langspec/subscribers","subscription_url":"https://api.github.com/repos/php/php-langspec/subscription","commits_url":"https://api.github.com/repos/php/php-langspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/php/php-langspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/php/php-langspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/php/php-langspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/php/php-langspec/contents/{+path}","compare_url":"https://api.github.com/repos/php/php-langspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php/php-langspec/merges","archive_url":"https://api.github.com/repos/php/php-langspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php/php-langspec/downloads","issues_url":"https://api.github.com/repos/php/php-langspec/issues{/number}","pulls_url":"https://api.github.com/repos/php/php-langspec/pulls{/number}","milestones_url":"https://api.github.com/repos/php/php-langspec/milestones{/number}","notifications_url":"https://api.github.com/repos/php/php-langspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php/php-langspec/labels{/name}","releases_url":"https://api.github.com/repos/php/php-langspec/releases{/id}","deployments_url":"https://api.github.com/repos/php/php-langspec/deployments","created_at":"2014-07-28T21:48:05Z","updated_at":"2016-11-25T16:34:10Z","pushed_at":"2016-11-26T12:28:02Z","git_url":"git://github.com/php/php-langspec.git","ssh_url":"git@github.com:php/php-langspec.git","clone_url":"https://github.com/php/php-langspec.git","svn_url":"https://github.com/php/php-langspec","homepage":"http://www.php.net","size":2553,"stargazers_count":2013,"watchers_count":2013,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":244,"mirror_url":null,"open_issues_count":2,"forks":244,"open_issues":2,"watchers":2013,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php/php-langspec/pulls/178"},"html":{"href":"https://github.com/php/php-langspec/pull/178"},"issue":{"href":"https://api.github.com/repos/php/php-langspec/issues/178"},"comments":{"href":"https://api.github.com/repos/php/php-langspec/issues/178/comments"},"review_comments":{"href":"https://api.github.com/repos/php/php-langspec/pulls/178/comments"},"review_comment":{"href":"https://api.github.com/repos/php/php-langspec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php/php-langspec/pulls/178/commits"},"statuses":{"href":"https://api.github.com/repos/php/php-langspec/statuses/9be31c57aa7e6b0e6a78118b42ad6211209a66c6"}}}}
{"actor":{"display_login":"Hywan"}}