langs.sty
changeset 235 bc460179148c
parent 234 bf7eecc9cefe
child 237 370c0647a9bf
--- a/langs.sty	Sat Aug 30 00:41:52 2014 +0100
+++ b/langs.sty	Sun Aug 31 16:25:17 2014 +0100
@@ -20,14 +20,14 @@
     type,val,var,while,with,yield},%
   otherkeywords={=>,<-,<\%,<:,>:,\#,@},%
   sensitive=true,%
-  directives={Int,Char,Rexp,String,Boolean,BigInt,Unit,List,Set},%
-  moredelim=*[directive]:,%
+  %directives={Int,Char,Rexp,String,Boolean,BigInt,Unit,List,Set},%
+  %moredelim=*[directive]:,%
   morecomment=[l]{//},%
   morecomment=[n]{/*}{*/},
   morestring=[b]",
   morestring=[b]',
   morestring=[b]"""
-}[keywords,directives,comments,strings]
+}[keywords,comments,strings]
 
 \lstdefinelanguage{While}{
   morekeywords={if,then,else,while,do,true,false,write,upto,for,skip},
@@ -39,7 +39,7 @@
 \lstdefinestyle{mystyle}
        {basicstyle=\ttfamily,
 	keywordstyle=\color{codepurple}\bfseries,
-        directivestyle=\color{codeblue}\bfseries,
+        %directivestyle=\color{codeblue}\bfseries,
 	stringstyle=\color{codegreen},
 	commentstyle=\color{codegreen},
 	morecomment=[s][\color{codedocblue}]{/**}{*/},