{"action":"created","issue":{"url":"https://api.github.com/repos/antlr/antlr4/issues/825","labels_url":"https://api.github.com/repos/antlr/antlr4/issues/825/labels{/name}","comments_url":"https://api.github.com/repos/antlr/antlr4/issues/825/comments","events_url":"https://api.github.com/repos/antlr/antlr4/issues/825/events","html_url":"https://github.com/antlr/antlr4/issues/825","id":59188118,"number":825,"title":"labels make listener methods disappear. ","user":{"login":"Reissner","id":5049888,"avatar_url":"https://avatars.githubusercontent.com/u/5049888?v=3","gravatar_id":"","url":"https://api.github.com/users/Reissner","html_url":"https://github.com/Reissner","followers_url":"https://api.github.com/users/Reissner/followers","following_url":"https://api.github.com/users/Reissner/following{/other_user}","gists_url":"https://api.github.com/users/Reissner/gists{/gist_id}","starred_url":"https://api.github.com/users/Reissner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reissner/subscriptions","organizations_url":"https://api.github.com/users/Reissner/orgs","repos_url":"https://api.github.com/users/Reissner/repos","events_url":"https://api.github.com/users/Reissner/events{/privacy}","received_events_url":"https://api.github.com/users/Reissner/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/antlr/antlr4/labels/status:not-fixing","name":"status:not-fixing","color":"ededed"},{"url":"https://api.github.com/repos/antlr/antlr4/labels/type:improvement","name":"type:improvement","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-27T04:31:08Z","updated_at":"2015-05-19T23:55:50Z","closed_at":"2015-05-19T23:55:50Z","body":"This bug may be a feature but i do not think so \r\nI replaced \r\n\r\n```\r\natomicExpression : (UINT | FLOAT | COMPLEX | END | string)\r\n```\r\n\r\nby \r\n\r\n```\r\natomicExpression : \r\n      UINT    # Integer \r\n    | FLOAT   # Real\r\n    | COMPLEX # Complex\r\n    | END     # EndL\r\n    | string  # StringL\r\n;\r\n```\r\n\r\nwhich makes exitAtomicExpression disappear \r\nbeing *replaced* by exitReal and others. \r\nWhat I would have expected is, that exitReal appears \r\n*in addition to* exitAtomicExpression \r\nbecause there is some reason that UINT and REAL are summarized in a rule \r\nwhich may result in common actions \r\nhandled best in common enter/exit methods of the listener. \r\n\r\nAll in all I think, labeled 'subrules' shall be treated like rules. \r\nThat way, the user is not forced to label either all or none alternatives. \r\n"},"comment":{"url":"https://api.github.com/repos/antlr/antlr4/issues/comments/103700062","html_url":"https://github.com/antlr/antlr4/issues/825#issuecomment-103700062","issue_url":"https://api.github.com/repos/antlr/antlr4/issues/825","id":103700062,"user":{"login":"parrt","id":178777,"avatar_url":"https://avatars.githubusercontent.com/u/178777?v=3","gravatar_id":"","url":"https://api.github.com/users/parrt","html_url":"https://github.com/parrt","followers_url":"https://api.github.com/users/parrt/followers","following_url":"https://api.github.com/users/parrt/following{/other_user}","gists_url":"https://api.github.com/users/parrt/gists{/gist_id}","starred_url":"https://api.github.com/users/parrt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parrt/subscriptions","organizations_url":"https://api.github.com/users/parrt/orgs","repos_url":"https://api.github.com/users/parrt/repos","events_url":"https://api.github.com/users/parrt/events{/privacy}","received_events_url":"https://api.github.com/users/parrt/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T23:55:50Z","updated_at":"2015-05-19T23:55:50Z","body":"Sometimes I've wanted \"exitAtomicExpression\" as well but I think I'll leave as is. You could [shudder] use the visit all rules thing and look for that one but... ;)"}}