re-indent bug
re-indent bug
- Subject: re-indent bug
- From: "Roger Persson" <email@hidden>
- Date: Sat, 7 Oct 2006 15:27:12 +0200
Hi,
I just tried re-indenting this piece of code containing a c-styled
commed (/**/):
/*1. Save this snippet as "reindent.c",
2. select all text, and
3. re-indent it via Format menu */
BOOL function(int value)
{
switch (something) {
case A:
result = findResult(parent,
NULL); /* remove this */
break;
case B:
break;
}
}
The comment "remove this" causes a "wild and crazy" behaviour for
reindent. If you remove the comment, reindent works as normal.
Note that the behaviour is other if you use c++ styled comments (//).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden