{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/drh/lcc/pulls/23","id":31645628,"html_url":"https://github.com/drh/lcc/pull/23","diff_url":"https://github.com/drh/lcc/pull/23.diff","patch_url":"https://github.com/drh/lcc/pull/23.patch","issue_url":"https://api.github.com/repos/drh/lcc/issues/23","number":23,"state":"open","locked":false,"title":"lburg - fix strchr when buffer doesn't have an eol.","user":{"login":"ksherlock","id":964904,"avatar_url":"https://avatars.githubusercontent.com/u/964904?v=3","gravatar_id":"","url":"https://api.github.com/users/ksherlock","html_url":"https://github.com/ksherlock","followers_url":"https://api.github.com/users/ksherlock/followers","following_url":"https://api.github.com/users/ksherlock/following{/other_user}","gists_url":"https://api.github.com/users/ksherlock/gists{/gist_id}","starred_url":"https://api.github.com/users/ksherlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksherlock/subscriptions","organizations_url":"https://api.github.com/users/ksherlock/orgs","repos_url":"https://api.github.com/users/ksherlock/repos","events_url":"https://api.github.com/users/ksherlock/events{/privacy}","received_events_url":"https://api.github.com/users/ksherlock/received_events","type":"User","site_admin":false},"body":"if `strchr(bp, '\\n')` didn't find anything the first time, it won't find anything the second time, either.\r\nChange to`'\\0'` to find the end-of-line. It's still a syntax error (the grammar requires a `'\\n'`) but it won't cause an alloc error.\r\n\r\nThis is only an issue if there's no end-of-line while lexing a rule's cost code (so not a problem with any of lcc's files).","created_at":"2015-03-20T19:44:01Z","updated_at":"2015-03-20T19:44:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drh/lcc/pulls/23/commits","review_comments_url":"https://api.github.com/repos/drh/lcc/pulls/23/comments","review_comment_url":"https://api.github.com/repos/drh/lcc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drh/lcc/issues/23/comments","statuses_url":"https://api.github.com/repos/drh/lcc/statuses/89b1f7ac955ae22c28f7916abc8adcd5f5db92fc","head":{"label":"ksherlock:lburg_no_eol","ref":"lburg_no_eol","sha":"89b1f7ac955ae22c28f7916abc8adcd5f5db92fc","user":{"login":"ksherlock","id":964904,"avatar_url":"https://avatars.githubusercontent.com/u/964904?v=3","gravatar_id":"","url":"https://api.github.com/users/ksherlock","html_url":"https://github.com/ksherlock","followers_url":"https://api.github.com/users/ksherlock/followers","following_url":"https://api.github.com/users/ksherlock/following{/other_user}","gists_url":"https://api.github.com/users/ksherlock/gists{/gist_id}","starred_url":"https://api.github.com/users/ksherlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksherlock/subscriptions","organizations_url":"https://api.github.com/users/ksherlock/orgs","repos_url":"https://api.github.com/users/ksherlock/repos","events_url":"https://api.github.com/users/ksherlock/events{/privacy}","received_events_url":"https://api.github.com/users/ksherlock/received_events","type":"User","site_admin":false},"repo":{"id":27003001,"name":"lcc","full_name":"ksherlock/lcc","owner":{"login":"ksherlock","id":964904,"avatar_url":"https://avatars.githubusercontent.com/u/964904?v=3","gravatar_id":"","url":"https://api.github.com/users/ksherlock","html_url":"https://github.com/ksherlock","followers_url":"https://api.github.com/users/ksherlock/followers","following_url":"https://api.github.com/users/ksherlock/following{/other_user}","gists_url":"https://api.github.com/users/ksherlock/gists{/gist_id}","starred_url":"https://api.github.com/users/ksherlock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksherlock/subscriptions","organizations_url":"https://api.github.com/users/ksherlock/orgs","repos_url":"https://api.github.com/users/ksherlock/repos","events_url":"https://api.github.com/users/ksherlock/events{/privacy}","received_events_url":"https://api.github.com/users/ksherlock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ksherlock/lcc","description":"The lcc retargetable ANSI C compiler","fork":true,"url":"https://api.github.com/repos/ksherlock/lcc","forks_url":"https://api.github.com/repos/ksherlock/lcc/forks","keys_url":"https://api.github.com/repos/ksherlock/lcc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ksherlock/lcc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ksherlock/lcc/teams","hooks_url":"https://api.github.com/repos/ksherlock/lcc/hooks","issue_events_url":"https://api.github.com/repos/ksherlock/lcc/issues/events{/number}","events_url":"https://api.github.com/repos/ksherlock/lcc/events","assignees_url":"https://api.github.com/repos/ksherlock/lcc/assignees{/user}","branches_url":"https://api.github.com/repos/ksherlock/lcc/branches{/branch}","tags_url":"https://api.github.com/repos/ksherlock/lcc/tags","blobs_url":"https://api.github.com/repos/ksherlock/lcc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ksherlock/lcc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ksherlock/lcc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ksherlock/lcc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ksherlock/lcc/statuses/{sha}","languages_url":"https://api.github.com/repos/ksherlock/lcc/languages","stargazers_url":"https://api.github.com/repos/ksherlock/lcc/stargazers","contributors_url":"https://api.github.com/repos/ksherlock/lcc/contributors","subscribers_url":"https://api.github.com/repos/ksherlock/lcc/subscribers","subscription_url":"https://api.github.com/repos/ksherlock/lcc/subscription","commits_url":"https://api.github.com/repos/ksherlock/lcc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ksherlock/lcc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ksherlock/lcc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ksherlock/lcc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ksherlock/lcc/contents/{+path}","compare_url":"https://api.github.com/repos/ksherlock/lcc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ksherlock/lcc/merges","archive_url":"https://api.github.com/repos/ksherlock/lcc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ksherlock/lcc/downloads","issues_url":"https://api.github.com/repos/ksherlock/lcc/issues{/number}","pulls_url":"https://api.github.com/repos/ksherlock/lcc/pulls{/number}","milestones_url":"https://api.github.com/repos/ksherlock/lcc/milestones{/number}","notifications_url":"https://api.github.com/repos/ksherlock/lcc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ksherlock/lcc/labels{/name}","releases_url":"https://api.github.com/repos/ksherlock/lcc/releases{/id}","created_at":"2014-11-22T15:29:51Z","updated_at":"2014-11-22T15:29:52Z","pushed_at":"2015-03-20T18:32:43Z","git_url":"git://github.com/ksherlock/lcc.git","ssh_url":"git@github.com:ksherlock/lcc.git","clone_url":"https://github.com/ksherlock/lcc.git","svn_url":"https://github.com/ksherlock/lcc","homepage":"http://sites.google.com/site/lccretargetablecompiler","size":2706,"stargazers_count":0,"watchers_count":0,"language":"C","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":"master"}},"base":{"label":"drh:master","ref":"master","sha":"3b3f01b4103cd7b519ae84bd1122c9b03233e687","user":{"login":"drh","id":7999,"avatar_url":"https://avatars.githubusercontent.com/u/7999?v=3","gravatar_id":"","url":"https://api.github.com/users/drh","html_url":"https://github.com/drh","followers_url":"https://api.github.com/users/drh/followers","following_url":"https://api.github.com/users/drh/following{/other_user}","gists_url":"https://api.github.com/users/drh/gists{/gist_id}","starred_url":"https://api.github.com/users/drh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drh/subscriptions","organizations_url":"https://api.github.com/users/drh/orgs","repos_url":"https://api.github.com/users/drh/repos","events_url":"https://api.github.com/users/drh/events{/privacy}","received_events_url":"https://api.github.com/users/drh/received_events","type":"User","site_admin":false},"repo":{"id":957049,"name":"lcc","full_name":"drh/lcc","owner":{"login":"drh","id":7999,"avatar_url":"https://avatars.githubusercontent.com/u/7999?v=3","gravatar_id":"","url":"https://api.github.com/users/drh","html_url":"https://github.com/drh","followers_url":"https://api.github.com/users/drh/followers","following_url":"https://api.github.com/users/drh/following{/other_user}","gists_url":"https://api.github.com/users/drh/gists{/gist_id}","starred_url":"https://api.github.com/users/drh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drh/subscriptions","organizations_url":"https://api.github.com/users/drh/orgs","repos_url":"https://api.github.com/users/drh/repos","events_url":"https://api.github.com/users/drh/events{/privacy}","received_events_url":"https://api.github.com/users/drh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drh/lcc","description":"The lcc retargetable ANSI C compiler","fork":false,"url":"https://api.github.com/repos/drh/lcc","forks_url":"https://api.github.com/repos/drh/lcc/forks","keys_url":"https://api.github.com/repos/drh/lcc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drh/lcc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drh/lcc/teams","hooks_url":"https://api.github.com/repos/drh/lcc/hooks","issue_events_url":"https://api.github.com/repos/drh/lcc/issues/events{/number}","events_url":"https://api.github.com/repos/drh/lcc/events","assignees_url":"https://api.github.com/repos/drh/lcc/assignees{/user}","branches_url":"https://api.github.com/repos/drh/lcc/branches{/branch}","tags_url":"https://api.github.com/repos/drh/lcc/tags","blobs_url":"https://api.github.com/repos/drh/lcc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drh/lcc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drh/lcc/git/refs{/sha}","trees_url":"https://api.github.com/repos/drh/lcc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drh/lcc/statuses/{sha}","languages_url":"https://api.github.com/repos/drh/lcc/languages","stargazers_url":"https://api.github.com/repos/drh/lcc/stargazers","contributors_url":"https://api.github.com/repos/drh/lcc/contributors","subscribers_url":"https://api.github.com/repos/drh/lcc/subscribers","subscription_url":"https://api.github.com/repos/drh/lcc/subscription","commits_url":"https://api.github.com/repos/drh/lcc/commits{/sha}","git_commits_url":"https://api.github.com/repos/drh/lcc/git/commits{/sha}","comments_url":"https://api.github.com/repos/drh/lcc/comments{/number}","issue_comment_url":"https://api.github.com/repos/drh/lcc/issues/comments{/number}","contents_url":"https://api.github.com/repos/drh/lcc/contents/{+path}","compare_url":"https://api.github.com/repos/drh/lcc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drh/lcc/merges","archive_url":"https://api.github.com/repos/drh/lcc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drh/lcc/downloads","issues_url":"https://api.github.com/repos/drh/lcc/issues{/number}","pulls_url":"https://api.github.com/repos/drh/lcc/pulls{/number}","milestones_url":"https://api.github.com/repos/drh/lcc/milestones{/number}","notifications_url":"https://api.github.com/repos/drh/lcc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drh/lcc/labels{/name}","releases_url":"https://api.github.com/repos/drh/lcc/releases{/id}","created_at":"2010-10-02T18:55:45Z","updated_at":"2015-03-19T20:05:32Z","pushed_at":"2014-11-08T20:18:00Z","git_url":"git://github.com/drh/lcc.git","ssh_url":"git@github.com:drh/lcc.git","clone_url":"https://github.com/drh/lcc.git","svn_url":"https://github.com/drh/lcc","homepage":"http://sites.google.com/site/lccretargetablecompiler","size":2706,"stargazers_count":261,"watchers_count":261,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":17,"forks":78,"open_issues":17,"watchers":261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drh/lcc/pulls/23"},"html":{"href":"https://github.com/drh/lcc/pull/23"},"issue":{"href":"https://api.github.com/repos/drh/lcc/issues/23"},"comments":{"href":"https://api.github.com/repos/drh/lcc/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/drh/lcc/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/drh/lcc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drh/lcc/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/drh/lcc/statuses/89b1f7ac955ae22c28f7916abc8adcd5f5db92fc"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":2}}