User forums > Help

Is astyle supposed to touch comment (/* */)?

(1/3) > >>

m00:
Current, I have comment looks like this.

--- Code: ---/*
 * comments....
 * comments....
 * comments....
 */
--- End code ---

If I touch astyle and it always will ending up like this by remove the first space.

--- Code: ---/*
* comments....
* comments....
* comments....
*/
--- End code ---
Is there any option to disable it, or is it bug, or is it normal?


Uh oh, looks like forum has removed the first space too in the first example above. I had to add tab in the third example to workaround for this forum to show the * is supposed to be straight in the first example.

--- Code: --- /*
* comments....
* comments....
* comments....
*/
--- End code ---

jimp:
The problem is probably one of the options you are using,  like pad-parens or pad-operators.  Try it without either of these options.

m00:

--- Quote from: jimp on December 28, 2005, 10:18:44 pm ---The problem is probably one of the options you are using,  like pad-parens or pad-operators.  Try it without either of these options.


--- End quote ---

Good call, it was pad-operators that I had it enable. It sounds like a bug? Should I report in sourceforge? I am not sure if it's a bug or feature.

Ceniza:
I'd say that's a bug, an AStyle bug, but since AStyle development has stopped, it'd be kinda useless to add a bug report, or it could be reported already.

I hope AStyle's replacement be developed and released soon...

m00:
Okay, thanks, I shall report in AStyle and leave there for anyone that willing to pick up in future.

Navigation

[0] Message Index

[#] Next page

Go to full version