aboutsummaryrefslogtreecommitdiff
path: root/js/prettify/lang-mumps.js
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-12 22:18:02 +0200
committerPacien TRAN-GIRARD2014-05-12 22:18:02 +0200
commitab4cae65f423ecaff16345051007c7002cba797b (patch)
tree64fda11b12ab806c18f209fed9fccc0614cd7e21 /js/prettify/lang-mumps.js
parent589b7856a8127dd050ca7c66ea73245dc0b328eb (diff)
downloadio-slides-remote-ab4cae65f423ecaff16345051007c7002cba797b.tar.gz
Update prettify
Diffstat (limited to 'js/prettify/lang-mumps.js')
-rw-r--r--js/prettify/lang-mumps.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/prettify/lang-mumps.js b/js/prettify/lang-mumps.js
new file mode 100644
index 0000000..8a6b3fd
--- /dev/null
+++ b/js/prettify/lang-mumps.js
@@ -0,0 +1,2 @@
1PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^"(?:[^"]|\\.)*"/,null,'"']],[["com",/^;[^\n\r]*/,null,";"],["dec",/^\$(?:d|device|ec|ecode|es|estack|et|etrap|h|horolog|i|io|j|job|k|key|p|principal|q|quit|st|stack|s|storage|sy|system|t|test|tl|tlevel|tr|trestart|x|y|z[a-z]*|a|ascii|c|char|d|data|e|extract|f|find|fn|fnumber|g|get|j|justify|l|length|na|name|o|order|p|piece|ql|qlength|qs|qsubscript|q|query|r|random|re|reverse|s|select|st|stack|t|text|tr|translate|nan)\b/i,
2null],["kwd",/^(?:[^$]b|break|c|close|d|do|e|else|f|for|g|goto|h|halt|h|hang|i|if|j|job|k|kill|l|lock|m|merge|n|new|o|open|q|quit|r|read|s|set|tc|tcommit|tre|trestart|tro|trollback|ts|tstart|u|use|v|view|w|write|x|xecute)\b/i,null],["lit",/^[+-]?(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?/i],["pln",/^[a-z][^\W_]*/i],["pun",/^[^\w\t\n\r"$%;^\xa0]|_/]]),["mumps"]);