{"action":"opened","issue":{"url":"https://api.github.com/repos/kimgr/asn1ate/issues/49","repository_url":"https://api.github.com/repos/kimgr/asn1ate","labels_url":"https://api.github.com/repos/kimgr/asn1ate/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/kimgr/asn1ate/issues/49/comments","events_url":"https://api.github.com/repos/kimgr/asn1ate/issues/49/events","html_url":"https://github.com/kimgr/asn1ate/issues/49","id":192077341,"number":49,"title":"Emits invalid python for `BOOLEAN true`","user":{"login":"DeviceIntelligenceUser","id":17178663,"avatar_url":"https://avatars.githubusercontent.com/u/17178663?v=3","gravatar_id":"","url":"https://api.github.com/users/DeviceIntelligenceUser","html_url":"https://github.com/DeviceIntelligenceUser","followers_url":"https://api.github.com/users/DeviceIntelligenceUser/followers","following_url":"https://api.github.com/users/DeviceIntelligenceUser/following{/other_user}","gists_url":"https://api.github.com/users/DeviceIntelligenceUser/gists{/gist_id}","starred_url":"https://api.github.com/users/DeviceIntelligenceUser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeviceIntelligenceUser/subscriptions","organizations_url":"https://api.github.com/users/DeviceIntelligenceUser/orgs","repos_url":"https://api.github.com/users/DeviceIntelligenceUser/repos","events_url":"https://api.github.com/users/DeviceIntelligenceUser/events{/privacy}","received_events_url":"https://api.github.com/users/DeviceIntelligenceUser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T18:11:55Z","updated_at":"2016-11-28T18:11:55Z","closed_at":null,"body":"With input `Foo DEFINITIONS ::= BEGIN bar BOOLEAN ::= true END`, I get output containing `bar = univ.Boolean(true)`. I would expect to get (1) a parse error; or (2) valid (non-erroring) python code.\r\n\r\nThe full output is ```# Auto-generated by asn1ate v.0.5.1.dev from foo.asn\r\n# (last modified on 2016-11-28 19:08:26.094569)\r\n\r\nfrom pyasn1.type import univ, char, namedtype, namedval, tag, constraint, useful\r\n\r\n\r\nbar = univ.Boolean(true)\r\n\r\n\r\n```\r\n"}}
{"actor":{"display_login":"DeviceIntelligenceUser"}}