GitHub PullRequestReviewCommentEvent at 2014-03-09 19:06:50
Repository: racc
Actor: zzak
Payload: {"comment":{"url":"https://api.github.com/repos/tenderlove/racc/pulls/comments/10415136","id":10415136,"diff_hunk":"@@ -121,65 +224,99 @@ preclow\n rule\n   exp: exp '*' exp\n      | exp '-' exp\n-     | '-' exp       =UMINUS   # equals to \"%prec UMINUS\"\n+     | '-' exp       =UMINUS   # changing the precedence of - only here\n          :\n          :\n --\n \n-== expect\n+In the above example, the precedence of the '-' exp rule is equal to the\n+precedence of UMINUS and higher than the precedence of '*', as we intended.\n \n-Racc has bison's \"expect\" directive.\n---\n-# Example\n-\n-class MyParser\n-rule\n-  expect 3\n-    :\n-    :\n---\n-This directive declears \"expected\" number of shift/reduce conflict.\n-If \"expected\" number is equal to real number of conflicts,\n-racc does not print confliction warning message.\n \n == Declaring Tokens\n \n-By declaring tokens, you can avoid many meanless bugs.\n-If decleared token does not exist/existing token does not decleared,\n-Racc output warnings.  Declearation syntax is:\n+By explicitly declaring tokens,\n+you can avoid many meaningless bugs, especially typos.\n+If a declared token does not exist or an existing token is not declared,\n+Racc outputs warnings.  Declaration syntax is:","path":"rdoc/en/grammar.en.rdoc","position":256,"original_position":256,"commit_id":"57fd209a740e3db648c27bba9545e5034415a6b7","original_commit_id":"57fd209a740e3db648c27bba9545e5034415a6b7","user":{"login":"zzak","id":277819,"avatar_url":"https://gravatar.com/avatar/7fe945668a4fc098e886e20dea71d2ee?d=https%3A%2F%2Fidenticons.github.com%2Ffa7c1d32672b3a269aaf69257901adcb.png&r=x","gravatar_id":"7fe945668a4fc098e886e20dea71d2ee","url":"https://api.github.com/users/zzak","html_url":"https://github.com/zzak","followers_url":"https://api.github.com/users/zzak/followers","following_url":"https://api.github.com/users/zzak/following{/other_user}","gists_url":"https://api.github.com/users/zzak/gists{/gist_id}","starred_url":"https://api.github.com/users/zzak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzak/subscriptions","organizations_url":"https://api.github.com/users/zzak/orgs","repos_url":"https://api.github.com/users/zzak/repos","events_url":"https://api.github.com/users/zzak/events{/privacy}","received_events_url":"https://api.github.com/users/zzak/received_events","type":"User","site_admin":false},"body":"s/Declaration syntax is/Such as:","created_at":"2014-03-09T19:06:50Z","updated_at":"2014-03-09T19:06:50Z","html_url":"https://github.com/tenderlove/racc/pull/46#discussion_r10415136","pull_request_url":"https://api.github.com/repos/tenderlove/racc/pulls/46","_links":{"self":{"href":"https://api.github.com/repos/tenderlove/racc/pulls/comments/10415136"},"html":{"href":"https://github.com/tenderlove/racc/pull/46#discussion_r10415136"},"pull_request":{"href":"https://api.github.com/repos/tenderlove/racc/pulls/46"}}}}