Nested comment blocks using /* */

Propose new features and changes
User avatar
Relayer
Posts: 121
Joined: 30 Sep 2013, 13:09
Location: Delaware, USA

Nested comment blocks using /* */

06 Dec 2018, 15:56

I have noticed that AHK doesn't handle comment blocks in the same way it handles other opening/closing punctuation like parentheses and brackets. In other words, it seems not to count the occurrence of opening '/*' and consider everything a comment until encountering an equal number of '*/". I often use this notation to mark documentation within my code. If I then want to comment out a large block of code containing other comment blocks, I need to go back and change the comments to use only semicolons. The parser seems to close the comment block as soon as it encounters the first '*/'.

Relayer

Return to “Wish List”

Who is online

Users browsing this forum: No registered users and 8 guests