{"action":"created","issue":{"url":"https://api.github.com/repos/antlr/intellij-plugin-v4/issues/262","repository_url":"https://api.github.com/repos/antlr/intellij-plugin-v4","labels_url":"https://api.github.com/repos/antlr/intellij-plugin-v4/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/antlr/intellij-plugin-v4/issues/262/comments","events_url":"https://api.github.com/repos/antlr/intellij-plugin-v4/issues/262/events","html_url":"https://github.com/antlr/intellij-plugin-v4/issues/262","id":155957966,"number":262,"title":"support for empty String (\"\") in locals","user":{"login":"bintom","id":19490746,"avatar_url":"https://avatars.githubusercontent.com/u/19490746?v=3","gravatar_id":"","url":"https://api.github.com/users/bintom","html_url":"https://github.com/bintom","followers_url":"https://api.github.com/users/bintom/followers","following_url":"https://api.github.com/users/bintom/following{/other_user}","gists_url":"https://api.github.com/users/bintom/gists{/gist_id}","starred_url":"https://api.github.com/users/bintom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bintom/subscriptions","organizations_url":"https://api.github.com/users/bintom/orgs","repos_url":"https://api.github.com/users/bintom/repos","events_url":"https://api.github.com/users/bintom/events{/privacy}","received_events_url":"https://api.github.com/users/bintom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/antlr/intellij-plugin-v4/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/antlr/intellij-plugin-v4/labels/comp:grammar-editor","name":"comp:grammar-editor","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-20T13:01:23Z","updated_at":"2016-06-09T19:36:22Z","closed_at":null,"body":"When a locals block contain an empty Java string (\"\") grammar is recognized as invalid by mistake.\r\n\r\nexample:\r\n<pre>\r\nemptyRule \r\n  locals [String s=\"\" /* starting from here the grammar is not coloured properly */] \r\n  :\r\n;\r\n</pre>\r\n"},"comment":{"url":"https://api.github.com/repos/antlr/intellij-plugin-v4/issues/comments/225002958","html_url":"https://github.com/antlr/intellij-plugin-v4/issues/262#issuecomment-225002958","issue_url":"https://api.github.com/repos/antlr/intellij-plugin-v4/issues/262","id":225002958,"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":"2016-06-09T19:36:22Z","updated_at":"2016-06-09T19:36:22Z","body":"Confirmed with this case:\r\n\r\n```\r\nparser grammar U;\r\n\r\na[String s=\"\"]\r\n  : A {f(\"\");} B // <-- remove f(\"\") and it's ok.\r\n  ;\r\n```"}}
{"actor":{"display_login":"parrt"}}