langs.sty
changeset 647 180600c04da2
parent 630 9b1c15c3eb6f
child 680 eecc4d5a2172
--- a/langs.sty	Thu Oct 03 11:12:00 2019 +0100
+++ b/langs.sty	Fri Oct 04 11:21:30 2019 +0100
@@ -64,6 +64,10 @@
 }[keywords,comments,strings]
 
 
+\lstdefinelanguage{JVMIS2}{
+  morekeywords={ldc,iload,istore,ifeq,if_icmpge},
+}[keywords]
+
 
 \newcommand{\code}[1]{{\lstinline{#1}}}
 \newcommand{\pcode}[1]{\mbox{\lstset{language={},keywordstyle=\color{black}}\lstinline!#1!}}