{"action":"created","issue":{"url":"https://api.github.com/repos/z88dk/z88dk/issues/673","repository_url":"https://api.github.com/repos/z88dk/z88dk","labels_url":"https://api.github.com/repos/z88dk/z88dk/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/z88dk/z88dk/issues/673/comments","events_url":"https://api.github.com/repos/z88dk/z88dk/issues/673/events","html_url":"https://github.com/z88dk/z88dk/issues/673","id":310094863,"number":673,"title":"z80asm: MODULE directive cannot accept names that coincide with register or flag names","user":{"login":"aralbrec","id":13653828,"avatar_url":"https://avatars0.githubusercontent.com/u/13653828?v=4","gravatar_id":"","url":"https://api.github.com/users/aralbrec","html_url":"https://github.com/aralbrec","followers_url":"https://api.github.com/users/aralbrec/followers","following_url":"https://api.github.com/users/aralbrec/following{/other_user}","gists_url":"https://api.github.com/users/aralbrec/gists{/gist_id}","starred_url":"https://api.github.com/users/aralbrec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aralbrec/subscriptions","organizations_url":"https://api.github.com/users/aralbrec/orgs","repos_url":"https://api.github.com/users/aralbrec/repos","events_url":"https://api.github.com/users/aralbrec/events{/privacy}","received_events_url":"https://api.github.com/users/aralbrec/received_events","type":"User","site_admin":false},"labels":[{"id":342594055,"url":"https://api.github.com/repos/z88dk/z88dk/labels/bug","name":"bug","color":"fc2929","default":true},{"id":592452200,"url":"https://api.github.com/repos/z88dk/z88dk/labels/z80asm","name":"z80asm","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-30T15:31:04Z","updated_at":"2018-03-30T23:32:04Z","closed_at":"2018-03-30T23:08:00Z","author_association":"OWNER","body":"I found this while trying to compile a program \"a.c\" with sccz80.   sccz80 will generate a \"MODULE a\" directive in its output asm which z80asm will flag as error.\r\n\r\na.asm\r\n```\r\nMODULE a\r\n\r\nPUBLIC foo\r\n\r\nfoo:\r\n\r\n   ld hl,10\r\n   ret\r\n```\r\n\r\n`z80asm a.asm`\r\nError at file 'a.asm' line 1: syntax error\r\n1 errors occurred during assembly\r\n\r\nChange `MODULE a` to `MODULE g`\r\n\r\n`z80asm a.asm` works fine.\r\n\r\nI find I can't use register or flag names in the MODULE string.\r\n"},"comment":{"url":"https://api.github.com/repos/z88dk/z88dk/issues/comments/377645793","html_url":"https://github.com/z88dk/z88dk/issues/673#issuecomment-377645793","issue_url":"https://api.github.com/repos/z88dk/z88dk/issues/673","id":377645793,"user":{"login":"suborb","id":394721,"avatar_url":"https://avatars0.githubusercontent.com/u/394721?v=4","gravatar_id":"","url":"https://api.github.com/users/suborb","html_url":"https://github.com/suborb","followers_url":"https://api.github.com/users/suborb/followers","following_url":"https://api.github.com/users/suborb/following{/other_user}","gists_url":"https://api.github.com/users/suborb/gists{/gist_id}","starred_url":"https://api.github.com/users/suborb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suborb/subscriptions","organizations_url":"https://api.github.com/users/suborb/orgs","repos_url":"https://api.github.com/users/suborb/repos","events_url":"https://api.github.com/users/suborb/events{/privacy}","received_events_url":"https://api.github.com/users/suborb/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T23:32:04Z","updated_at":"2018-03-30T23:32:04Z","author_association":"OWNER","body":"@aralbrec sccz80 gets its details from the .i file so what's the output of a run with -E?"}}
{"actor":{"display_login":"suborb"}}