Bug 754 : Auto Format says "too many right parentheses" when last line is a comment
Last modified: 2010-03-27 15:52




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P3
Severity:
normal

 

Reporter:
alphachapmtl
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-04-04 20:00
0135 Beta -- Windows XP Pro
A correct line cause Auto Format error when commented
Auto Format OK with this:[CODE]line(vv[(oldi+ringID)%vertexCount].x1, vv
[(oldi+ringID)%vertexCount].y1, vv[(i+ringID)%vertexCount].x1, vv[(i+ringID)%
vertexCount].y1);
line(vv[(oldi+ringID)%vertexCount].x2, vv[(oldi+ringID)%vertexCount].y2, vv
[(i+ringID)%vertexCount].x2, vv[(i+ringID)%vertexCount].y2);
[/CODE]
Auto Format ERROR with this:[CODE]line(vv[(oldi+ringID)%vertexCount].x1, vv
[(oldi+ringID)%vertexCount].y1, vv[(i+ringID)%vertexCount].x1, vv[(i+ringID)%
vertexCount].y1);
//line(vv[(oldi+ringID)%vertexCount].x2, vv[(oldi+ringID)%vertexCount].y2, vv
[(i+ringID)%vertexCount].x2, vv[(i+ringID)%vertexCount].y2);
[/CODE]
Additional Comment #1 From fry 2010-03-27 15:40
was the change checked in already with the other bits from yesterday?
Additional Comment #2 From MrFeinberg 2010-03-27 15:52
Yes, exactly. I'm still reviewing existing bugs to see what else I've fixed.