bugGNU indent - Bugs: bug #41982, Treat underscore as function...

 
 

bug #41982: Treat underscore as function name/string delimiter in gettext-style strings.

Submitted by:  Daniel P. Valentine <dpv>
Submitted on:  Thu 27 Mar 2014 10:26:40 PM UTC  
 
Category:  C Severity:  3 - Normal
Item Group:  Wishlist Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 29 Mar 2014 04:55:52 PM UTC, comment #1:

Added -gts, not a default, to treat _("...") as a string when breaking lines.

Daniel P. Valentine <dpv>
Project Administrator
Thu 27 Mar 2014 10:26:40 PM UTC, original submission:

Because the gettext standard uses _("") delimiters around strings for localization, it would be good to either treat that as a type of string constant or to keep the underscore with the following opening paren as a function call.

Considering that gettext is GNU-standard, consider making this the default treatment in the -gnu option set.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487517

Daniel P. Valentine <dpv>
Project Administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dpv (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-29 dpv StatusNone => Fixed
    2014-03-27 dpv CategoryNone => C
        Item GroupNone => Wishlist

    Back to the top


    Powered by Savane 3.3