helpListings package for LaTeX - Support: sr #285, Updated Objective-C language for...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

sr #285: Updated Objective-C language for Listings package

Submitted by:  Brooks Moses <brooks>
Submitted on:  Tue Apr 12 20:02:00 2011  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Tue Apr 12 20:02:00 2011, original submission:

Jim Dovey wrote, on Tue, 30 Nov 2010 11:58:59 -0500:


Hi there,

I was researching adding a language for MIG interface definitions and noticed that the Objective-C definition was looking a little out of date (plus it was missing some things like Class, nil, Nil, and so on), so I updated it. Here's the full blob from lstlang1.sty:

%%
%% Objective-C definition (c) 1997 Detlev Droege
%% Updates for Objective-C 2.1 (c) 2010 Jim Dovey
%%
\lst@definelanguage[Objective]{C}[ANSI]{C}
{morekeywords={bycopy,id,in,inout,oneway,out,self,super,Class,nil,Nil,%
@class,@defs,@encode,@end,@implementation,@interface,@private,%
@protected,@package,@public,@protocol,@selector,@property,%
@synthesize,@dynamic,@synchronized,@try,@catch,@finally,%
readwrite,readonly,nonatomic,setter,getter,NS_DURING,NS_HANDLER,%
NS_ENDHANDLER},%
moredirectives={import}%
}%

Thanks,
-Jim

Brooks Moses <brooks>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by brooks (Submitted the item)
  •  

    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):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray