bugGNU indent - Bugs: bug #33364, Spaces around + omitted in an edge...

 
 
Show feedback again

bug #33364: Spaces around + omitted in an edge case

Submitted by:  None
Submitted on:  Sun 22 May 2011 07:00:05 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 22 May 2011 07:00:05 AM UTC, original submission:

Spaces around + are omitted in the following:

main()
{
if (0)
return;
malloc(zizeof(int)+2 * 2);
}

Changing zizeof to sizeof, or deleting the return statement, makes the problem disappear. .indent.pro is:

-bap
-bl
-bli0
-i4
-il0
-l80
-ncs
-nlp
-npcs
-ts4

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #23436:  c.c added by None (63B - text/plain)
file #23437:  .indent.pro added by None (60B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 22 May 2011 07:00:05 AM UTCNoneAttached File-=>Added c.c, #23436
  Attached File-=>Added .indent.pro, #23437
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup