diff options
author | Karl Berry <karl@freefriends.org> | 2007-02-28 22:32:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-02-28 22:32:28 +0000 |
commit | e7d22f9c3388947b1b1e5e8c8519c9ae0684a96f (patch) | |
tree | 54fcbbab0ca8c6ff479a36810919d99ce6e9e112 /Master/texmf-dist/tex/latex/listings/lstlang2.sty | |
parent | 278b41c83363bdbda2ef386ec54df1c16417a1d8 (diff) |
listings update (28feb07)
git-svn-id: svn://tug.org/texlive/trunk@4002 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang2.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/listings/lstlang2.sty | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/lstlang2.sty b/Master/texmf-dist/tex/latex/listings/lstlang2.sty index c95df46f296..aea935ae1df 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang2.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang2.sty @@ -4,12 +4,12 @@ %% %% The original source files were: %% -%% lstdrvrs-1.3.dtx (with options: `lang2') +%% lstdrvrs.dtx (with options: `lang2') %% %% The listings package is copyright 1996--2004 Carsten Heinz, and -%% continued maintenance on the package is copyright 2006 Brooks Moses. -%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004 any -%% individual author listed in this file. +%% continued maintenance on the package is copyright 2006--2007 Brooks Moses. +%% The drivers are copyright 1997/1998/1999/2000/2001/2002/2003/2004/2006/ +%% 2007 any individual author listed in this file. %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. @@ -67,7 +67,7 @@ transfer-dynpro,translate,type,unpack,update,user-command,% using,value,when,where,while,window,with,workfile,write,},% morecomment=[l]",% - morecomment=[f][0]*,% + morecomment=[f][commentstyle][0]*,% morestring=[d]'% }[keywords,comments,strings,procnames] \lst@definelanguage[R/2 4.3]{ABAP}[R/2 5.0]{ABAP}% @@ -1351,7 +1351,18 @@ morecomment=[s]{=BEGIN}{=END},% morestring=[b]',% morestring=[b]",% - morestring=[b]/% + morestring=[s]{\%q/}{/},% + morestring=[s]{\%q!}{!},% + morestring=[s]{\%q\{}{\}},% + morestring=[s]{\%q(}{)},% + morestring=[s]{\%q[}{]},% + morestring=[s]{\%q-}{-},% + morestring=[s]{\%Q/}{/},% + morestring=[s]{\%Q!}{!},% + morestring=[s]{\%Q\{}{\}},% + morestring=[s]{\%Q(}{)},% + morestring=[s]{\%Q[}{]},% + morestring=[s]{\%Q-}{-}% }[keywords,comments,strings]% %% %% SHELXL definition (c) 1999 Aidan Philip Heerdegen @@ -1452,13 +1463,10 @@ hypot,log,log10,pow,sin,sinh,sqrt,tan,tanh,abs,double,int,round% },% morestring=[d]",% - MoreSelectCharTable=% - \lst@CArgX\#\relax\lst@DefDelimB{}{}% - {\ifx\lst@lastother\lstum@backslash - \expandafter\@gobblethree - \fi}% - \lst@BeginComment\lst@commentmode - {{\lst@commentstyle}\lst@Lmodetrue}% + morecomment=[f]\#,% + morecomment=[l]{;\#},% + morecomment=[l]{[\#},% + morecomment=[l]{\{\#}% }[keywords,comments,strings]% %% %% VBScript definition (c) 2000 Sonja Weidmann |