summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/listings/lstlang2.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/listings/lstlang2.sty34
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