{"action":"created","comment":{"url":"https://api.github.com/repos/projectfluent/fluent.js/pulls/comments/156790853","pull_request_review_id":83319377,"id":156790853,"diff_hunk":"@@ -117,7 +115,8 @@ export default class FluentParser {\n   getEntry(ps) {\n     let comment;\n \n-    if (ps.currentIs('/')) {\n+    if (ps.currentIs('/') ||\n+      (ps.currentIs('#') && (ps.peekCharIs('#') || ps.peekCharIs(' ')))) {","path":"fluent-syntax/src/parser.js","position":44,"original_position":44,"commit_id":"82533ebbea5b05165ece2dc688768f5a3b345e58","original_commit_id":"82533ebbea5b05165ece2dc688768f5a3b345e58","user":{"login":"stasm","id":265818,"avatar_url":"https://avatars3.githubusercontent.com/u/265818?v=4","gravatar_id":"","url":"https://api.github.com/users/stasm","html_url":"https://github.com/stasm","followers_url":"https://api.github.com/users/stasm/followers","following_url":"https://api.github.com/users/stasm/following{/other_user}","gists_url":"https://api.github.com/users/stasm/gists{/gist_id}","starred_url":"https://api.github.com/users/stasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stasm/subscriptions","organizations_url":"https://api.github.com/users/stasm/orgs","repos_url":"https://api.github.com/users/stasm/repos","events_url":"https://api.github.com/users/stasm/events{/privacy}","received_events_url":"https://api.github.com/users/stasm/received_events","type":"User","site_admin":false},"body":"Why does this peek one char ahead? Isn't a single `#` enough to branch into `getComment`?","created_at":"2017-12-13T21:30:28Z","updated_at":"2017-12-13T21:36:25Z","html_url":"https://github.com/projectfluent/fluent.js/pull/109#discussion_r156790853","pull_request_url":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/projectfluent/fluent.js/pulls/comments/156790853"},"html":{"href":"https://github.com/projectfluent/fluent.js/pull/109#discussion_r156790853"},"pull_request":{"href":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109","id":158127593,"html_url":"https://github.com/projectfluent/fluent.js/pull/109","diff_url":"https://github.com/projectfluent/fluent.js/pull/109.diff","patch_url":"https://github.com/projectfluent/fluent.js/pull/109.patch","issue_url":"https://api.github.com/repos/projectfluent/fluent.js/issues/109","number":109,"state":"open","locked":false,"title":"Add 0.5 comments support","user":{"login":"zbraniecki","id":449986,"avatar_url":"https://avatars0.githubusercontent.com/u/449986?v=4","gravatar_id":"","url":"https://api.github.com/users/zbraniecki","html_url":"https://github.com/zbraniecki","followers_url":"https://api.github.com/users/zbraniecki/followers","following_url":"https://api.github.com/users/zbraniecki/following{/other_user}","gists_url":"https://api.github.com/users/zbraniecki/gists{/gist_id}","starred_url":"https://api.github.com/users/zbraniecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbraniecki/subscriptions","organizations_url":"https://api.github.com/users/zbraniecki/orgs","repos_url":"https://api.github.com/users/zbraniecki/repos","events_url":"https://api.github.com/users/zbraniecki/events{/privacy}","received_events_url":"https://api.github.com/users/zbraniecki/received_events","type":"User","site_admin":false},"body":"Implements a subset of https://github.com/projectfluent/fluent/issues/58 required for limited Firefox x-channel compatibility across beta and stable.","created_at":"2017-12-13T15:41:19Z","updated_at":"2017-12-13T21:36:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cada65bdc4734e74598bc4801572a7aeeb7d40c8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109/commits","review_comments_url":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109/comments","review_comment_url":"https://api.github.com/repos/projectfluent/fluent.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectfluent/fluent.js/issues/109/comments","statuses_url":"https://api.github.com/repos/projectfluent/fluent.js/statuses/82533ebbea5b05165ece2dc688768f5a3b345e58","head":{"label":"zbraniecki:05-comments","ref":"05-comments","sha":"82533ebbea5b05165ece2dc688768f5a3b345e58","user":{"login":"zbraniecki","id":449986,"avatar_url":"https://avatars0.githubusercontent.com/u/449986?v=4","gravatar_id":"","url":"https://api.github.com/users/zbraniecki","html_url":"https://github.com/zbraniecki","followers_url":"https://api.github.com/users/zbraniecki/followers","following_url":"https://api.github.com/users/zbraniecki/following{/other_user}","gists_url":"https://api.github.com/users/zbraniecki/gists{/gist_id}","starred_url":"https://api.github.com/users/zbraniecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbraniecki/subscriptions","organizations_url":"https://api.github.com/users/zbraniecki/orgs","repos_url":"https://api.github.com/users/zbraniecki/repos","events_url":"https://api.github.com/users/zbraniecki/events{/privacy}","received_events_url":"https://api.github.com/users/zbraniecki/received_events","type":"User","site_admin":false},"repo":{"id":80757208,"name":"fluent.js","full_name":"zbraniecki/fluent.js","owner":{"login":"zbraniecki","id":449986,"avatar_url":"https://avatars0.githubusercontent.com/u/449986?v=4","gravatar_id":"","url":"https://api.github.com/users/zbraniecki","html_url":"https://github.com/zbraniecki","followers_url":"https://api.github.com/users/zbraniecki/followers","following_url":"https://api.github.com/users/zbraniecki/following{/other_user}","gists_url":"https://api.github.com/users/zbraniecki/gists{/gist_id}","starred_url":"https://api.github.com/users/zbraniecki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zbraniecki/subscriptions","organizations_url":"https://api.github.com/users/zbraniecki/orgs","repos_url":"https://api.github.com/users/zbraniecki/repos","events_url":"https://api.github.com/users/zbraniecki/events{/privacy}","received_events_url":"https://api.github.com/users/zbraniecki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zbraniecki/fluent.js","description":"JavaScript implementation of Project Fluent","fork":true,"url":"https://api.github.com/repos/zbraniecki/fluent.js","forks_url":"https://api.github.com/repos/zbraniecki/fluent.js/forks","keys_url":"https://api.github.com/repos/zbraniecki/fluent.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zbraniecki/fluent.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zbraniecki/fluent.js/teams","hooks_url":"https://api.github.com/repos/zbraniecki/fluent.js/hooks","issue_events_url":"https://api.github.com/repos/zbraniecki/fluent.js/issues/events{/number}","events_url":"https://api.github.com/repos/zbraniecki/fluent.js/events","assignees_url":"https://api.github.com/repos/zbraniecki/fluent.js/assignees{/user}","branches_url":"https://api.github.com/repos/zbraniecki/fluent.js/branches{/branch}","tags_url":"https://api.github.com/repos/zbraniecki/fluent.js/tags","blobs_url":"https://api.github.com/repos/zbraniecki/fluent.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zbraniecki/fluent.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zbraniecki/fluent.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/zbraniecki/fluent.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zbraniecki/fluent.js/statuses/{sha}","languages_url":"https://api.github.com/repos/zbraniecki/fluent.js/languages","stargazers_url":"https://api.github.com/repos/zbraniecki/fluent.js/stargazers","contributors_url":"https://api.github.com/repos/zbraniecki/fluent.js/contributors","subscribers_url":"https://api.github.com/repos/zbraniecki/fluent.js/subscribers","subscription_url":"https://api.github.com/repos/zbraniecki/fluent.js/subscription","commits_url":"https://api.github.com/repos/zbraniecki/fluent.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/zbraniecki/fluent.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/zbraniecki/fluent.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/zbraniecki/fluent.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/zbraniecki/fluent.js/contents/{+path}","compare_url":"https://api.github.com/repos/zbraniecki/fluent.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zbraniecki/fluent.js/merges","archive_url":"https://api.github.com/repos/zbraniecki/fluent.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zbraniecki/fluent.js/downloads","issues_url":"https://api.github.com/repos/zbraniecki/fluent.js/issues{/number}","pulls_url":"https://api.github.com/repos/zbraniecki/fluent.js/pulls{/number}","milestones_url":"https://api.github.com/repos/zbraniecki/fluent.js/milestones{/number}","notifications_url":"https://api.github.com/repos/zbraniecki/fluent.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zbraniecki/fluent.js/labels{/name}","releases_url":"https://api.github.com/repos/zbraniecki/fluent.js/releases{/id}","deployments_url":"https://api.github.com/repos/zbraniecki/fluent.js/deployments","created_at":"2017-02-02T18:48:45Z","updated_at":"2017-02-02T18:48:47Z","pushed_at":"2017-12-13T21:27:07Z","git_url":"git://github.com/zbraniecki/fluent.js.git","ssh_url":"git@github.com:zbraniecki/fluent.js.git","clone_url":"https://github.com/zbraniecki/fluent.js.git","svn_url":"https://github.com/zbraniecki/fluent.js","homepage":null,"size":3831,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectfluent:master","ref":"master","sha":"f722d99013434a38863a1bac48be9918691e4a4e","user":{"login":"projectfluent","id":24696436,"avatar_url":"https://avatars3.githubusercontent.com/u/24696436?v=4","gravatar_id":"","url":"https://api.github.com/users/projectfluent","html_url":"https://github.com/projectfluent","followers_url":"https://api.github.com/users/projectfluent/followers","following_url":"https://api.github.com/users/projectfluent/following{/other_user}","gists_url":"https://api.github.com/users/projectfluent/gists{/gist_id}","starred_url":"https://api.github.com/users/projectfluent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectfluent/subscriptions","organizations_url":"https://api.github.com/users/projectfluent/orgs","repos_url":"https://api.github.com/users/projectfluent/repos","events_url":"https://api.github.com/users/projectfluent/events{/privacy}","received_events_url":"https://api.github.com/users/projectfluent/received_events","type":"Organization","site_admin":false},"repo":{"id":80720339,"name":"fluent.js","full_name":"projectfluent/fluent.js","owner":{"login":"projectfluent","id":24696436,"avatar_url":"https://avatars3.githubusercontent.com/u/24696436?v=4","gravatar_id":"","url":"https://api.github.com/users/projectfluent","html_url":"https://github.com/projectfluent","followers_url":"https://api.github.com/users/projectfluent/followers","following_url":"https://api.github.com/users/projectfluent/following{/other_user}","gists_url":"https://api.github.com/users/projectfluent/gists{/gist_id}","starred_url":"https://api.github.com/users/projectfluent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectfluent/subscriptions","organizations_url":"https://api.github.com/users/projectfluent/orgs","repos_url":"https://api.github.com/users/projectfluent/repos","events_url":"https://api.github.com/users/projectfluent/events{/privacy}","received_events_url":"https://api.github.com/users/projectfluent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectfluent/fluent.js","description":"JavaScript implementation of Project Fluent","fork":false,"url":"https://api.github.com/repos/projectfluent/fluent.js","forks_url":"https://api.github.com/repos/projectfluent/fluent.js/forks","keys_url":"https://api.github.com/repos/projectfluent/fluent.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectfluent/fluent.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectfluent/fluent.js/teams","hooks_url":"https://api.github.com/repos/projectfluent/fluent.js/hooks","issue_events_url":"https://api.github.com/repos/projectfluent/fluent.js/issues/events{/number}","events_url":"https://api.github.com/repos/projectfluent/fluent.js/events","assignees_url":"https://api.github.com/repos/projectfluent/fluent.js/assignees{/user}","branches_url":"https://api.github.com/repos/projectfluent/fluent.js/branches{/branch}","tags_url":"https://api.github.com/repos/projectfluent/fluent.js/tags","blobs_url":"https://api.github.com/repos/projectfluent/fluent.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectfluent/fluent.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectfluent/fluent.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectfluent/fluent.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectfluent/fluent.js/statuses/{sha}","languages_url":"https://api.github.com/repos/projectfluent/fluent.js/languages","stargazers_url":"https://api.github.com/repos/projectfluent/fluent.js/stargazers","contributors_url":"https://api.github.com/repos/projectfluent/fluent.js/contributors","subscribers_url":"https://api.github.com/repos/projectfluent/fluent.js/subscribers","subscription_url":"https://api.github.com/repos/projectfluent/fluent.js/subscription","commits_url":"https://api.github.com/repos/projectfluent/fluent.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectfluent/fluent.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectfluent/fluent.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectfluent/fluent.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectfluent/fluent.js/contents/{+path}","compare_url":"https://api.github.com/repos/projectfluent/fluent.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectfluent/fluent.js/merges","archive_url":"https://api.github.com/repos/projectfluent/fluent.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectfluent/fluent.js/downloads","issues_url":"https://api.github.com/repos/projectfluent/fluent.js/issues{/number}","pulls_url":"https://api.github.com/repos/projectfluent/fluent.js/pulls{/number}","milestones_url":"https://api.github.com/repos/projectfluent/fluent.js/milestones{/number}","notifications_url":"https://api.github.com/repos/projectfluent/fluent.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectfluent/fluent.js/labels{/name}","releases_url":"https://api.github.com/repos/projectfluent/fluent.js/releases{/id}","deployments_url":"https://api.github.com/repos/projectfluent/fluent.js/deployments","created_at":"2017-02-02T11:52:16Z","updated_at":"2017-12-12T00:08:14Z","pushed_at":"2017-12-13T21:27:08Z","git_url":"git://github.com/projectfluent/fluent.js.git","ssh_url":"git@github.com:projectfluent/fluent.js.git","clone_url":"https://github.com/projectfluent/fluent.js.git","svn_url":"https://github.com/projectfluent/fluent.js","homepage":null,"size":4232,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":8,"open_issues":28,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109"},"html":{"href":"https://github.com/projectfluent/fluent.js/pull/109"},"issue":{"href":"https://api.github.com/repos/projectfluent/fluent.js/issues/109"},"comments":{"href":"https://api.github.com/repos/projectfluent/fluent.js/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/projectfluent/fluent.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectfluent/fluent.js/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/projectfluent/fluent.js/statuses/82533ebbea5b05165ece2dc688768f5a3b345e58"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"stasm"}}