{"action":"created","comment":{"url":"https://api.github.com/repos/eliben/pycparser/pulls/comments/47598145","id":47598145,"diff_hunk":"@@ -557,9 +557,9 @@ def p_pppragma_directive(self, p):\n                                     | PPPRAGMA PPPRAGMASTR\n         \"\"\"\n         if len(p) == 3:\n-            p[0] = c_ast.Pragma(p[2])\n+            p[0] = c_ast.Pragma(p[2], self._coord(p.lineno(2)))\n         else:\n-            p[0] = c_ast.Pragma(\"\")\n+            p[0] = c_ast.Pragma(\"\", self._coord(p.lineno(2)))","path":"pycparser/c_parser.py","position":8,"original_position":8,"commit_id":"0d165aae43f204ca082579c1e9fb621f03590bab","original_commit_id":"0d165aae43f204ca082579c1e9fb621f03590bab","user":{"login":"eliben","id":1130906,"avatar_url":"https://avatars.githubusercontent.com/u/1130906?v=3","gravatar_id":"","url":"https://api.github.com/users/eliben","html_url":"https://github.com/eliben","followers_url":"https://api.github.com/users/eliben/followers","following_url":"https://api.github.com/users/eliben/following{/other_user}","gists_url":"https://api.github.com/users/eliben/gists{/gist_id}","starred_url":"https://api.github.com/users/eliben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliben/subscriptions","organizations_url":"https://api.github.com/users/eliben/orgs","repos_url":"https://api.github.com/users/eliben/repos","events_url":"https://api.github.com/users/eliben/events{/privacy}","received_events_url":"https://api.github.com/users/eliben/received_events","type":"User","site_admin":false},"body":"This looks weird - are you sure it's lineno(2) and not lineno(1) in this case? Actually, maybe both cases...\r\n\r\n[a test for this case (both with and without string) would be good too]","created_at":"2015-12-15T05:32:12Z","updated_at":"2015-12-15T05:32:12Z","html_url":"https://github.com/eliben/pycparser/pull/108#discussion_r47598145","pull_request_url":"https://api.github.com/repos/eliben/pycparser/pulls/108","_links":{"self":{"href":"https://api.github.com/repos/eliben/pycparser/pulls/comments/47598145"},"html":{"href":"https://github.com/eliben/pycparser/pull/108#discussion_r47598145"},"pull_request":{"href":"https://api.github.com/repos/eliben/pycparser/pulls/108"}}},"pull_request":{"url":"https://api.github.com/repos/eliben/pycparser/pulls/108","id":53566589,"html_url":"https://github.com/eliben/pycparser/pull/108","diff_url":"https://github.com/eliben/pycparser/pull/108.diff","patch_url":"https://github.com/eliben/pycparser/pull/108.patch","issue_url":"https://api.github.com/repos/eliben/pycparser/issues/108","number":108,"state":"open","locked":false,"title":"Fix for #107 \"No coord for Prgama Node\"","user":{"login":"cod3monk","id":1473799,"avatar_url":"https://avatars.githubusercontent.com/u/1473799?v=3","gravatar_id":"","url":"https://api.github.com/users/cod3monk","html_url":"https://github.com/cod3monk","followers_url":"https://api.github.com/users/cod3monk/followers","following_url":"https://api.github.com/users/cod3monk/following{/other_user}","gists_url":"https://api.github.com/users/cod3monk/gists{/gist_id}","starred_url":"https://api.github.com/users/cod3monk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cod3monk/subscriptions","organizations_url":"https://api.github.com/users/cod3monk/orgs","repos_url":"https://api.github.com/users/cod3monk/repos","events_url":"https://api.github.com/users/cod3monk/events{/privacy}","received_events_url":"https://api.github.com/users/cod3monk/received_events","type":"User","site_admin":false},"body":"See #107 ","created_at":"2015-12-14T13:49:30Z","updated_at":"2015-12-15T05:32:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"708b8073bbe341ca38590d1f427414201b2fe879","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eliben/pycparser/pulls/108/commits","review_comments_url":"https://api.github.com/repos/eliben/pycparser/pulls/108/comments","review_comment_url":"https://api.github.com/repos/eliben/pycparser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eliben/pycparser/issues/108/comments","statuses_url":"https://api.github.com/repos/eliben/pycparser/statuses/0d165aae43f204ca082579c1e9fb621f03590bab","head":{"label":"cod3monk:bugfix","ref":"bugfix","sha":"0d165aae43f204ca082579c1e9fb621f03590bab","user":{"login":"cod3monk","id":1473799,"avatar_url":"https://avatars.githubusercontent.com/u/1473799?v=3","gravatar_id":"","url":"https://api.github.com/users/cod3monk","html_url":"https://github.com/cod3monk","followers_url":"https://api.github.com/users/cod3monk/followers","following_url":"https://api.github.com/users/cod3monk/following{/other_user}","gists_url":"https://api.github.com/users/cod3monk/gists{/gist_id}","starred_url":"https://api.github.com/users/cod3monk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cod3monk/subscriptions","organizations_url":"https://api.github.com/users/cod3monk/orgs","repos_url":"https://api.github.com/users/cod3monk/repos","events_url":"https://api.github.com/users/cod3monk/events{/privacy}","received_events_url":"https://api.github.com/users/cod3monk/received_events","type":"User","site_admin":false},"repo":{"id":44110315,"name":"pycparser","full_name":"cod3monk/pycparser","owner":{"login":"cod3monk","id":1473799,"avatar_url":"https://avatars.githubusercontent.com/u/1473799?v=3","gravatar_id":"","url":"https://api.github.com/users/cod3monk","html_url":"https://github.com/cod3monk","followers_url":"https://api.github.com/users/cod3monk/followers","following_url":"https://api.github.com/users/cod3monk/following{/other_user}","gists_url":"https://api.github.com/users/cod3monk/gists{/gist_id}","starred_url":"https://api.github.com/users/cod3monk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cod3monk/subscriptions","organizations_url":"https://api.github.com/users/cod3monk/orgs","repos_url":"https://api.github.com/users/cod3monk/repos","events_url":"https://api.github.com/users/cod3monk/events{/privacy}","received_events_url":"https://api.github.com/users/cod3monk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cod3monk/pycparser","description":"Complete C99 parser in pure Python","fork":true,"url":"https://api.github.com/repos/cod3monk/pycparser","forks_url":"https://api.github.com/repos/cod3monk/pycparser/forks","keys_url":"https://api.github.com/repos/cod3monk/pycparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cod3monk/pycparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cod3monk/pycparser/teams","hooks_url":"https://api.github.com/repos/cod3monk/pycparser/hooks","issue_events_url":"https://api.github.com/repos/cod3monk/pycparser/issues/events{/number}","events_url":"https://api.github.com/repos/cod3monk/pycparser/events","assignees_url":"https://api.github.com/repos/cod3monk/pycparser/assignees{/user}","branches_url":"https://api.github.com/repos/cod3monk/pycparser/branches{/branch}","tags_url":"https://api.github.com/repos/cod3monk/pycparser/tags","blobs_url":"https://api.github.com/repos/cod3monk/pycparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cod3monk/pycparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cod3monk/pycparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/cod3monk/pycparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cod3monk/pycparser/statuses/{sha}","languages_url":"https://api.github.com/repos/cod3monk/pycparser/languages","stargazers_url":"https://api.github.com/repos/cod3monk/pycparser/stargazers","contributors_url":"https://api.github.com/repos/cod3monk/pycparser/contributors","subscribers_url":"https://api.github.com/repos/cod3monk/pycparser/subscribers","subscription_url":"https://api.github.com/repos/cod3monk/pycparser/subscription","commits_url":"https://api.github.com/repos/cod3monk/pycparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/cod3monk/pycparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/cod3monk/pycparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/cod3monk/pycparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/cod3monk/pycparser/contents/{+path}","compare_url":"https://api.github.com/repos/cod3monk/pycparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cod3monk/pycparser/merges","archive_url":"https://api.github.com/repos/cod3monk/pycparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cod3monk/pycparser/downloads","issues_url":"https://api.github.com/repos/cod3monk/pycparser/issues{/number}","pulls_url":"https://api.github.com/repos/cod3monk/pycparser/pulls{/number}","milestones_url":"https://api.github.com/repos/cod3monk/pycparser/milestones{/number}","notifications_url":"https://api.github.com/repos/cod3monk/pycparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cod3monk/pycparser/labels{/name}","releases_url":"https://api.github.com/repos/cod3monk/pycparser/releases{/id}","created_at":"2015-10-12T13:51:05Z","updated_at":"2015-10-12T13:51:06Z","pushed_at":"2015-12-14T13:48:25Z","git_url":"git://github.com/cod3monk/pycparser.git","ssh_url":"git@github.com:cod3monk/pycparser.git","clone_url":"https://github.com/cod3monk/pycparser.git","svn_url":"https://github.com/cod3monk/pycparser","homepage":null,"size":604,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"eliben:master","ref":"master","sha":"904cecd150c2c5c768944d199169957cdb8433f9","user":{"login":"eliben","id":1130906,"avatar_url":"https://avatars.githubusercontent.com/u/1130906?v=3","gravatar_id":"","url":"https://api.github.com/users/eliben","html_url":"https://github.com/eliben","followers_url":"https://api.github.com/users/eliben/followers","following_url":"https://api.github.com/users/eliben/following{/other_user}","gists_url":"https://api.github.com/users/eliben/gists{/gist_id}","starred_url":"https://api.github.com/users/eliben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliben/subscriptions","organizations_url":"https://api.github.com/users/eliben/orgs","repos_url":"https://api.github.com/users/eliben/repos","events_url":"https://api.github.com/users/eliben/events{/privacy}","received_events_url":"https://api.github.com/users/eliben/received_events","type":"User","site_admin":false},"repo":{"id":10589864,"name":"pycparser","full_name":"eliben/pycparser","owner":{"login":"eliben","id":1130906,"avatar_url":"https://avatars.githubusercontent.com/u/1130906?v=3","gravatar_id":"","url":"https://api.github.com/users/eliben","html_url":"https://github.com/eliben","followers_url":"https://api.github.com/users/eliben/followers","following_url":"https://api.github.com/users/eliben/following{/other_user}","gists_url":"https://api.github.com/users/eliben/gists{/gist_id}","starred_url":"https://api.github.com/users/eliben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eliben/subscriptions","organizations_url":"https://api.github.com/users/eliben/orgs","repos_url":"https://api.github.com/users/eliben/repos","events_url":"https://api.github.com/users/eliben/events{/privacy}","received_events_url":"https://api.github.com/users/eliben/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eliben/pycparser","description":"Complete C99 parser in pure Python","fork":false,"url":"https://api.github.com/repos/eliben/pycparser","forks_url":"https://api.github.com/repos/eliben/pycparser/forks","keys_url":"https://api.github.com/repos/eliben/pycparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eliben/pycparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eliben/pycparser/teams","hooks_url":"https://api.github.com/repos/eliben/pycparser/hooks","issue_events_url":"https://api.github.com/repos/eliben/pycparser/issues/events{/number}","events_url":"https://api.github.com/repos/eliben/pycparser/events","assignees_url":"https://api.github.com/repos/eliben/pycparser/assignees{/user}","branches_url":"https://api.github.com/repos/eliben/pycparser/branches{/branch}","tags_url":"https://api.github.com/repos/eliben/pycparser/tags","blobs_url":"https://api.github.com/repos/eliben/pycparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eliben/pycparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eliben/pycparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/eliben/pycparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eliben/pycparser/statuses/{sha}","languages_url":"https://api.github.com/repos/eliben/pycparser/languages","stargazers_url":"https://api.github.com/repos/eliben/pycparser/stargazers","contributors_url":"https://api.github.com/repos/eliben/pycparser/contributors","subscribers_url":"https://api.github.com/repos/eliben/pycparser/subscribers","subscription_url":"https://api.github.com/repos/eliben/pycparser/subscription","commits_url":"https://api.github.com/repos/eliben/pycparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/eliben/pycparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/eliben/pycparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/eliben/pycparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/eliben/pycparser/contents/{+path}","compare_url":"https://api.github.com/repos/eliben/pycparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eliben/pycparser/merges","archive_url":"https://api.github.com/repos/eliben/pycparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eliben/pycparser/downloads","issues_url":"https://api.github.com/repos/eliben/pycparser/issues{/number}","pulls_url":"https://api.github.com/repos/eliben/pycparser/pulls{/number}","milestones_url":"https://api.github.com/repos/eliben/pycparser/milestones{/number}","notifications_url":"https://api.github.com/repos/eliben/pycparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eliben/pycparser/labels{/name}","releases_url":"https://api.github.com/repos/eliben/pycparser/releases{/id}","created_at":"2013-06-09T22:01:56Z","updated_at":"2015-12-15T00:03:28Z","pushed_at":"2015-12-14T13:49:30Z","git_url":"git://github.com/eliben/pycparser.git","ssh_url":"git@github.com:eliben/pycparser.git","clone_url":"https://github.com/eliben/pycparser.git","svn_url":"https://github.com/eliben/pycparser","homepage":null,"size":781,"stargazers_count":551,"watchers_count":551,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":143,"mirror_url":null,"open_issues_count":20,"forks":143,"open_issues":20,"watchers":551,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eliben/pycparser/pulls/108"},"html":{"href":"https://github.com/eliben/pycparser/pull/108"},"issue":{"href":"https://api.github.com/repos/eliben/pycparser/issues/108"},"comments":{"href":"https://api.github.com/repos/eliben/pycparser/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/eliben/pycparser/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/eliben/pycparser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eliben/pycparser/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/eliben/pycparser/statuses/0d165aae43f204ca082579c1e9fb621f03590bab"}}}}