langs.sty
changeset 690 8d57433c7b5e
parent 680 eecc4d5a2172
child 709 c112a6cb5e52
--- a/langs.sty	Thu Nov 14 13:50:39 2019 +0000
+++ b/langs.sty	Fri Nov 15 14:58:16 2019 +0000
@@ -56,7 +56,7 @@
 }[keywords,comments,strings]
 
 \lstdefinelanguage{While}{
-  morekeywords={if,then,else,while,do,true,false,write,upto,read,for,skip},
+  morekeywords={if,then,else,while,do,true,false,write,upto,read,for,skip,new},
   morecomment=[l]{//},
   morecomment=[n]{/*}{*/},
   morestring=[b]",