{"action":"created","issue":{"url":"https://api.github.com/repos/LuaJIT/LuaJIT/issues/73","labels_url":"https://api.github.com/repos/LuaJIT/LuaJIT/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/LuaJIT/LuaJIT/issues/73/comments","events_url":"https://api.github.com/repos/LuaJIT/LuaJIT/issues/73/events","html_url":"https://github.com/LuaJIT/LuaJIT/issues/73","id":104820815,"number":73,"title":"dynasm.lua: Can misparse a logical OR C expression","user":{"login":"spc476","id":1221323,"avatar_url":"https://avatars.githubusercontent.com/u/1221323?v=3","gravatar_id":"","url":"https://api.github.com/users/spc476","html_url":"https://github.com/spc476","followers_url":"https://api.github.com/users/spc476/followers","following_url":"https://api.github.com/users/spc476/following{/other_user}","gists_url":"https://api.github.com/users/spc476/gists{/gist_id}","starred_url":"https://api.github.com/users/spc476/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spc476/subscriptions","organizations_url":"https://api.github.com/users/spc476/orgs","repos_url":"https://api.github.com/users/spc476/repos","events_url":"https://api.github.com/users/spc476/events{/privacy}","received_events_url":"https://api.github.com/users/spc476/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-04T02:50:59Z","updated_at":"2015-09-05T22:44:31Z","closed_at":"2015-09-05T22:44:31Z","body":"The following is legal C:\r\n\r\n    if (\r\n          isdigit(*parse->t)\r\n          || ((*parse->t == '-') && isdigit(*(parse->t + 1)))\r\n        )\r\n\r\nBut dynasm.lua will mistakenly convert this to:\r\n\r\n    if (\r\n          isdigit(*parse->t)\r\n          ((*parse->t == '-') && isdigit(*(parse->t + 1)))\r\n        )\r\n\r\nWhich is not legal C.  I can work around the issue, but it violates the coding standard I use (admittedly I might be the only one to use said standard, but still ... )\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/LuaJIT/LuaJIT/issues/comments/138005150","html_url":"https://github.com/LuaJIT/LuaJIT/issues/73#issuecomment-138005150","issue_url":"https://api.github.com/repos/LuaJIT/LuaJIT/issues/73","id":138005150,"user":{"login":"spc476","id":1221323,"avatar_url":"https://avatars.githubusercontent.com/u/1221323?v=3","gravatar_id":"","url":"https://api.github.com/users/spc476","html_url":"https://github.com/spc476","followers_url":"https://api.github.com/users/spc476/followers","following_url":"https://api.github.com/users/spc476/following{/other_user}","gists_url":"https://api.github.com/users/spc476/gists{/gist_id}","starred_url":"https://api.github.com/users/spc476/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spc476/subscriptions","organizations_url":"https://api.github.com/users/spc476/orgs","repos_url":"https://api.github.com/users/spc476/repos","events_url":"https://api.github.com/users/spc476/events{/privacy}","received_events_url":"https://api.github.com/users/spc476/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T22:44:31Z","updated_at":"2015-09-05T22:44:31Z","body":"Yeah, I came across some unofficial documentation that stated as much (although much to my chagrin, I didn't bother to bookmark it, and now I can't seem to locate it).  So I guess this bug is more a \"documentation is obtuse\" than \"an actual bug in the code\".  \r\n\r\nIt's a pity that Mike didn't use one of three symbols not used by C.  I can understand why he might not have picked the \"`\" as it could be too easily overlooked, but that still leaves \"$\" or \"@\" (my pick as it's very obvious when seen).  But I suppose it's too late to change.\r\n"}}