Permalink
Browse files

Merge pull request #56 from ThatOtherPerson/update-inst-highlights

Added new keywords to update highlighting to the 1.7 spec
  • Loading branch information...
2 parents 89cc8f3 + edea8fe commit 541e7d69e7cb88a5feead45f62d6bdb731056081 @mappum committed May 3, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 js/mode.js
View
@@ -9,7 +9,11 @@ CodeMirror.defineMode("dcpu", function(config, parserConfig)
"set":true, "add":true, "sub":true, "mul":true, "div":true,
"mod":true, "shl":true, "shr":true, "and":true, "bor":true,
"xor":true, "ife":true, "ifn":true, "ifg":true, "ifb":true,
- "jsr":true, "dat":true, "brk":true
+ "jsr":true, "dat":true, "brk":true, "mli":true, "dvi":true,
+ "mdi":true, "asr":true, "ifc":true, "ifa":true, "ifl":true,
+ "ifu":true, "adx":true, "sbx":true, "sti":true, "std":true,
+ "int":true, "iag":true, "ias":true, "rfi":true, "iag":true,
+ "hwn":true, "hwg":true, "hwi":true
};
var isOperatorChar = /[+\-:]/;
@@ -78,4 +82,4 @@ CodeMirror.defineMode("dcpu", function(config, parserConfig)
return tokenBase(stream, state);
}
};
-});
+});

0 comments on commit 541e7d6

Please sign in to comment.