{"action":"opened","issue":{"url":"https://api.github.com/repos/nim-lang/c2nim/issues/58","labels_url":"https://api.github.com/repos/nim-lang/c2nim/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/nim-lang/c2nim/issues/58/comments","events_url":"https://api.github.com/repos/nim-lang/c2nim/issues/58/events","html_url":"https://github.com/nim-lang/c2nim/issues/58","id":122417976,"number":58,"title":"CPP #ifdef #endif within class definition","user":{"login":"jlp765","id":5141524,"avatar_url":"https://avatars.githubusercontent.com/u/5141524?v=3","gravatar_id":"","url":"https://api.github.com/users/jlp765","html_url":"https://github.com/jlp765","followers_url":"https://api.github.com/users/jlp765/followers","following_url":"https://api.github.com/users/jlp765/following{/other_user}","gists_url":"https://api.github.com/users/jlp765/gists{/gist_id}","starred_url":"https://api.github.com/users/jlp765/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlp765/subscriptions","organizations_url":"https://api.github.com/users/jlp765/orgs","repos_url":"https://api.github.com/users/jlp765/repos","events_url":"https://api.github.com/users/jlp765/events{/privacy}","received_events_url":"https://api.github.com/users/jlp765/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-16T03:12:40Z","updated_at":"2015-12-16T03:12:40Z","closed_at":null,"body":"This files to convert, with \r\n``Error: identifier expected, but found '#'``\r\nwhen ``c2nim --cpp <filename.h>``\r\ncode containing\r\n```\r\nclass failClass1 {\r\npublic:\r\n  int tmpI;\r\n#ifdef windows\r\n  void someProc(int x);\r\n#endif\r\n};\r\n```\r\nComment out the ``#ifdef`` and ``#endif`` and it converts without error."}}