{"action":"created","comment":{"url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/23131321","id":23131321,"diff_hunk":"@@ -4,44 +4,45 @@ $(SPEC_S Enums,\n \n $(GRAMMAR\n $(GNAME EnumDeclaration):\n-    $(D enum) $(GLINK EnumTag) $(GLINK EnumBody)\n-    $(D enum) $(GLINK EnumBody)\n-    $(D enum) $(GLINK EnumTag) $(D :) $(GLINK EnumBaseType) $(GLINK EnumBody)\n-    $(D enum) $(D :) $(GLINK EnumBaseType) $(GLINK EnumBody)\n-\n-$(GNAME EnumTag):\n-    $(I Identifier)\n+    $(D enum) $(I Identifier) $(GLINK EnumBody)\n+    $(D enum) $(I Identifier) $(D :) $(GLINK EnumBaseType) $(GLINK EnumBody)\n+    $(AnonymousEnumDeclaration)\n \n $(GNAME EnumBaseType):\n-    $(GLINK2 declaration, Type)\n+    $(GLINK Type)\n \n $(GNAME EnumBody):\n-    $(GLINK EmptyEnumBody)\n-    $(GLINK EnumMembersBody)\n-\n-$(GNAME EmptyEnumBody):\n-    $(D ;)\n-\n-$(GNAME EnumMembersBody):\n     $(D {) $(GLINK EnumMembers) $(D })\n+    $(D ;)\n \n $(GNAME EnumMembers):\n     $(GLINK EnumMember)\n     $(GLINK EnumMember) $(D ,)\n-    $(GLINK EnumMember) $(D ,) $(I EnumMembers)\n \n $(GNAME EnumMember):\n     $(I Identifier)\n     $(I Identifier) $(D =) $(ASSIGNEXPRESSION)\n-    $(GLINK2 declaration, Type) $(I Identifier) $(D =) $(ASSIGNEXPRESSION)\n+\n+$(GNAME AnonymousEnumDeclaration):\n+    $(D enum) $(D :) $(GLINK EnumBaseType) $(D {) $(GLINK EnumMembers) $(D })\n+    $(D enum) $(D {) $(GLINK EnumMembers) $(D })\n+    $(D enum) $(D {) $(GLINK AnonymousEnumMembers) $(D })\n+\n+$(GNAME AnonymousEnumMembers):\n+    $(GLINK AnonymousEnumMember)\n+    $(GLINK AnonymousEnumMembers) $(D ,) $(GLINK AnonymousEnumMember)","path":"enum.dd","position":null,"original_position":47,"commit_id":"5cc9f177de3aa5b0f871fdf984eda2d409446118","original_commit_id":"15459d2af1349016f108b26e67be6312bef6e62c","user":{"login":"Hackerpilot","id":1657783,"avatar_url":"https://avatars.githubusercontent.com/u/1657783?v=3","gravatar_id":"","url":"https://api.github.com/users/Hackerpilot","html_url":"https://github.com/Hackerpilot","followers_url":"https://api.github.com/users/Hackerpilot/followers","following_url":"https://api.github.com/users/Hackerpilot/following{/other_user}","gists_url":"https://api.github.com/users/Hackerpilot/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackerpilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackerpilot/subscriptions","organizations_url":"https://api.github.com/users/Hackerpilot/orgs","repos_url":"https://api.github.com/users/Hackerpilot/repos","events_url":"https://api.github.com/users/Hackerpilot/events{/privacy}","received_events_url":"https://api.github.com/users/Hackerpilot/received_events","type":"User","site_admin":false},"body":"Fixed.","created_at":"2015-01-18T06:42:35Z","updated_at":"2015-01-18T06:42:35Z","html_url":"https://github.com/D-Programming-Language/dlang.org/pull/775#discussion_r23131321","pull_request_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775","_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/23131321"},"html":{"href":"https://github.com/D-Programming-Language/dlang.org/pull/775#discussion_r23131321"},"pull_request":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775"}}},"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775","id":27540445,"html_url":"https://github.com/D-Programming-Language/dlang.org/pull/775","diff_url":"https://github.com/D-Programming-Language/dlang.org/pull/775.diff","patch_url":"https://github.com/D-Programming-Language/dlang.org/pull/775.patch","issue_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/775","number":775,"state":"open","locked":false,"title":"Issue 10285 - Enum grammar documentation is incorrect","user":{"login":"Hackerpilot","id":1657783,"avatar_url":"https://avatars.githubusercontent.com/u/1657783?v=3","gravatar_id":"","url":"https://api.github.com/users/Hackerpilot","html_url":"https://github.com/Hackerpilot","followers_url":"https://api.github.com/users/Hackerpilot/followers","following_url":"https://api.github.com/users/Hackerpilot/following{/other_user}","gists_url":"https://api.github.com/users/Hackerpilot/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackerpilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackerpilot/subscriptions","organizations_url":"https://api.github.com/users/Hackerpilot/orgs","repos_url":"https://api.github.com/users/Hackerpilot/repos","events_url":"https://api.github.com/users/Hackerpilot/events{/privacy}","received_events_url":"https://api.github.com/users/Hackerpilot/received_events","type":"User","site_admin":false},"body":"https://issues.dlang.org/show_bug.cgi?id=10285\r\n\r\nThis cleans up the enum declaration grammar and makes it more closely match DMD's implementation. Some rules that consisted of a single token were removed, and a new AnonymousEnumDeclaration rule was added to ensure that the \"type identifer = assignExpression\" syntax cannot appear in non-anonymous or typed enums.","created_at":"2015-01-16T22:08:55Z","updated_at":"2015-01-18T06:42:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ed9807e21709472fef0c658153345f307ac9ba6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775/commits","review_comments_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775/comments","review_comment_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/{number}","comments_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/775/comments","statuses_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/statuses/5cc9f177de3aa5b0f871fdf984eda2d409446118","head":{"label":"Hackerpilot:issue-10285","ref":"issue-10285","sha":"5cc9f177de3aa5b0f871fdf984eda2d409446118","user":{"login":"Hackerpilot","id":1657783,"avatar_url":"https://avatars.githubusercontent.com/u/1657783?v=3","gravatar_id":"","url":"https://api.github.com/users/Hackerpilot","html_url":"https://github.com/Hackerpilot","followers_url":"https://api.github.com/users/Hackerpilot/followers","following_url":"https://api.github.com/users/Hackerpilot/following{/other_user}","gists_url":"https://api.github.com/users/Hackerpilot/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackerpilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackerpilot/subscriptions","organizations_url":"https://api.github.com/users/Hackerpilot/orgs","repos_url":"https://api.github.com/users/Hackerpilot/repos","events_url":"https://api.github.com/users/Hackerpilot/events{/privacy}","received_events_url":"https://api.github.com/users/Hackerpilot/received_events","type":"User","site_admin":false},"repo":{"id":21877972,"name":"dlang.org","full_name":"Hackerpilot/dlang.org","owner":{"login":"Hackerpilot","id":1657783,"avatar_url":"https://avatars.githubusercontent.com/u/1657783?v=3","gravatar_id":"","url":"https://api.github.com/users/Hackerpilot","html_url":"https://github.com/Hackerpilot","followers_url":"https://api.github.com/users/Hackerpilot/followers","following_url":"https://api.github.com/users/Hackerpilot/following{/other_user}","gists_url":"https://api.github.com/users/Hackerpilot/gists{/gist_id}","starred_url":"https://api.github.com/users/Hackerpilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hackerpilot/subscriptions","organizations_url":"https://api.github.com/users/Hackerpilot/orgs","repos_url":"https://api.github.com/users/Hackerpilot/repos","events_url":"https://api.github.com/users/Hackerpilot/events{/privacy}","received_events_url":"https://api.github.com/users/Hackerpilot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hackerpilot/dlang.org","description":"Pages for the dlang.org website, home of the D Programming Language","fork":true,"url":"https://api.github.com/repos/Hackerpilot/dlang.org","forks_url":"https://api.github.com/repos/Hackerpilot/dlang.org/forks","keys_url":"https://api.github.com/repos/Hackerpilot/dlang.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hackerpilot/dlang.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hackerpilot/dlang.org/teams","hooks_url":"https://api.github.com/repos/Hackerpilot/dlang.org/hooks","issue_events_url":"https://api.github.com/repos/Hackerpilot/dlang.org/issues/events{/number}","events_url":"https://api.github.com/repos/Hackerpilot/dlang.org/events","assignees_url":"https://api.github.com/repos/Hackerpilot/dlang.org/assignees{/user}","branches_url":"https://api.github.com/repos/Hackerpilot/dlang.org/branches{/branch}","tags_url":"https://api.github.com/repos/Hackerpilot/dlang.org/tags","blobs_url":"https://api.github.com/repos/Hackerpilot/dlang.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hackerpilot/dlang.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hackerpilot/dlang.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hackerpilot/dlang.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hackerpilot/dlang.org/statuses/{sha}","languages_url":"https://api.github.com/repos/Hackerpilot/dlang.org/languages","stargazers_url":"https://api.github.com/repos/Hackerpilot/dlang.org/stargazers","contributors_url":"https://api.github.com/repos/Hackerpilot/dlang.org/contributors","subscribers_url":"https://api.github.com/repos/Hackerpilot/dlang.org/subscribers","subscription_url":"https://api.github.com/repos/Hackerpilot/dlang.org/subscription","commits_url":"https://api.github.com/repos/Hackerpilot/dlang.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hackerpilot/dlang.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hackerpilot/dlang.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hackerpilot/dlang.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/Hackerpilot/dlang.org/contents/{+path}","compare_url":"https://api.github.com/repos/Hackerpilot/dlang.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hackerpilot/dlang.org/merges","archive_url":"https://api.github.com/repos/Hackerpilot/dlang.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hackerpilot/dlang.org/downloads","issues_url":"https://api.github.com/repos/Hackerpilot/dlang.org/issues{/number}","pulls_url":"https://api.github.com/repos/Hackerpilot/dlang.org/pulls{/number}","milestones_url":"https://api.github.com/repos/Hackerpilot/dlang.org/milestones{/number}","notifications_url":"https://api.github.com/repos/Hackerpilot/dlang.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hackerpilot/dlang.org/labels{/name}","releases_url":"https://api.github.com/repos/Hackerpilot/dlang.org/releases{/id}","created_at":"2014-07-15T22:21:24Z","updated_at":"2015-01-16T19:55:37Z","pushed_at":"2015-01-18T06:41:10Z","git_url":"git://github.com/Hackerpilot/dlang.org.git","ssh_url":"git@github.com:Hackerpilot/dlang.org.git","clone_url":"https://github.com/Hackerpilot/dlang.org.git","svn_url":"https://github.com/Hackerpilot/dlang.org","homepage":"dlang.org","size":9375,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"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":"D-Programming-Language:master","ref":"master","sha":"72227e53f23aee537c1ad40c8151ae39489653db","user":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"repo":{"id":1257080,"name":"dlang.org","full_name":"D-Programming-Language/dlang.org","owner":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-Language/dlang.org","description":"Pages for the dlang.org website, home of the D Programming Language","fork":false,"url":"https://api.github.com/repos/D-Programming-Language/dlang.org","forks_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/forks","keys_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/teams","hooks_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/events","assignees_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/tags","blobs_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/languages","stargazers_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/subscription","commits_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/comments/{number}","contents_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/merges","archive_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/downloads","issues_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-Language/dlang.org/releases{/id}","created_at":"2011-01-15T06:58:12Z","updated_at":"2015-01-18T06:28:21Z","pushed_at":"2015-01-18T06:28:21Z","git_url":"git://github.com/D-Programming-Language/dlang.org.git","ssh_url":"git@github.com:D-Programming-Language/dlang.org.git","clone_url":"https://github.com/D-Programming-Language/dlang.org.git","svn_url":"https://github.com/D-Programming-Language/dlang.org","homepage":"dlang.org","size":14859,"stargazers_count":147,"watchers_count":147,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":174,"mirror_url":null,"open_issues_count":16,"forks":174,"open_issues":16,"watchers":147,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775"},"html":{"href":"https://github.com/D-Programming-Language/dlang.org/pull/775"},"issue":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/775"},"comments":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/issues/775/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/pulls/775/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-Language/dlang.org/statuses/5cc9f177de3aa5b0f871fdf984eda2d409446118"}}}}