diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/lstlang1.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/listings/lstlang1.sty | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/lstlang1.sty b/Master/texmf-dist/tex/latex/listings/lstlang1.sty index 177880e56d3..69f4a4a5edb 100644 --- a/Master/texmf-dist/tex/latex/listings/lstlang1.sty +++ b/Master/texmf-dist/tex/latex/listings/lstlang1.sty @@ -22,7 +22,7 @@ %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% \ProvidesFile{lstlang1.sty} - [2014/03/04 1.5c listings language file] + [2014/09/06 1.5e listings language file] %% %% ACSL definition (c) 2000 by Andreas Matthias %% @@ -207,6 +207,10 @@ morecomment=[s]{/*}{*/},% morestring=[b]",% }[keywords,comments,strings,keywordcomments] +\lst@definelanguage[11]{C++}[ISO]{C++}% + {morekeywords={alignas,alignof,char16_t,char32_t,constexpr,% + decltype,noexcept,nullptr,static_assert,thread_local},% + }% \lst@definelanguage[ANSI]{C++}[ISO]{C++}{}% \lst@definelanguage[GNU]{C++}[ISO]{C++}% {morekeywords={__attribute__,__extension__,__restrict,__restrict__,% @@ -293,16 +297,17 @@ %% bash,sh definition (c) 2003 Riccardo Murri <riccardo.murri@gmx.it> %% \lst@definelanguage{bash}[]{sh}% - {morekeywords={alias,bg,bind,builtin,command,compgen,complete,% - declare,disown,enable,fc,fg,history,jobs,et,local,logout,printf,% - pushd,popd,select,set,suspend,shopt,source,times,type,typeset,% - ulimit,unalias,wait},% + {morekeywords={alias,bg,bind,builtin,caller,command,compgen,compopt,% + complete,coproc,declare,disown,dirs,enable,fc,fg,help,history,% + jobs,let,local,logout,mapfile,printf,pushd,popd,readarray,select,% + set,suspend,shopt,source,times,type,typeset,ulimit,unalias,wait},% }% \lst@definelanguage{sh}% - {morekeywords={awk,break,case,cat,cd,continue,do,done,echo,else,% - env,eval,exec,expr,exit,export,false,fi,for,function,getopts,% - hash,history,if,kill,nice,nohup,ps,pwd,read,readonly,return,% - sed,shift,test,then,times,trap,true,umask,unset,until,while},% + {morekeywords={awk,break,case,cat,cd,continue,do,done,echo,elif,else,% + env,esac,eval,exec,exit,export,expr,false,fi,for,function,getopts,% + hash,history,if,in,kill,login,newgrp,nice,nohup,ps,pwd,read,% + readonly,return,set,sed,shift,test,then,times,trap,true,type,% + ulimit,umask,unset,until,wait,while},% morecomment=[l]\#,% morestring=[d]"% }[keywords,comments,strings]% |