Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: abraker95 on October 03, 2013, 11:35:01 pm
-
Upon writing my code I accidentally did this while commenting out the code: //(*pointer)=4 which effectively commented out the code as this would /**
I am aware of the other 2 types of comments, but this one is a new discovery. I tried closing it like so: *)// but is didn't work. Additionally, the code compiles while it is commented out like that, meaning it ignores that it is a comment block. I found this weird and interesting, can somebody tell me more about it?
-
Can you post the exact code (copy&paste) that does not work in code-tags please (the #-sign in the forum's editor) ?
-
Rev. 8997 already deals with this, try a nightly.
(The cause is //(* is used by wxSmith to indicate auto-generated code that should not be modified by the user. The corresponding end tag is //*) I believe.)