summaryrefslogtreecommitdiffstats
path: root/docs/manual/style/scripts/sh_sh.js
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-04-24 16:17:10 +0200
committerDaniel Gruno <humbedooh@apache.org>2012-04-24 16:17:10 +0200
commit06f3ceac085f98c8c121058a4b86d5c82efd0212 (patch)
tree7a1e79c1544159c5a556177b0f7e892f84a8a0c8 /docs/manual/style/scripts/sh_sh.js
parent1.3 is dead. Long live..uhm.. $current (diff)
downloadapache2-06f3ceac085f98c8c121058a4b86d5c82efd0212.tar.xz
apache2-06f3ceac085f98c8c121058a4b86d5c82efd0212.zip
Initial add of files for syntax highlighting tests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1329740 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--docs/manual/style/scripts/sh_sh.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/manual/style/scripts/sh_sh.js b/docs/manual/style/scripts/sh_sh.js
new file mode 100644
index 0000000000..51bbff6f8e
--- /dev/null
+++ b/docs/manual/style/scripts/sh_sh.js
@@ -0,0 +1 @@
+if(!this.sh_languages){this.sh_languages={}}sh_languages.sh=[[[/\b(?:import)\b/g,"sh_preproc",-1],[/\b[+-]?(?:(?:0x[A-Fa-f0-9]+)|(?:(?:[\d]*\.)?[\d]+(?:[eE][+-]?[\d]+)?))u?(?:(?:int(?:8|16|32|64))|L)?\b/g,"sh_number",-1],[/\\"|\\'/g,"sh_normal",-1],[/"/g,"sh_string",1],[/'/g,"sh_string",2],[/function[ \t]+(?:[A-Za-z]|_)[A-Za-z0-9_]*[ \t]*(?:\(\))?|(?:[A-Za-z]|_)[A-Za-z0-9_]*[ \t]*\(\)/g,"sh_function",-1],[/(?:[A-Za-z]*[-\/]+[A-Za-z]+)+/g,"sh_normal",-1],[/\b(?:alias|bg|bind|break|builtin|caller|case|command|compgen|complete|continue|declare|dirs|disown|do|done|elif|else|enable|esac|eval|exec|exit|export|false|fc|fg|fi|for|getopts|hash|help|history|if|in|jobs|let|local|logout|popd|printf|pushd|read|readonly|return|select|set|shift|shopt|source|suspend|test|then|times|trap|true|type|typeset|umask|unalias|unset|until|wait|while)\b/g,"sh_keyword",-1],[/(?:[A-Za-z]|_)[A-Za-z0-9_]*(?==)|\$\{(?:[^ \t]+)\}|\$\((?:[^ \t]+)\)|\$(?:[A-Za-z]|_)[A-Za-z0-9_]*|\$(?:[^ \t]{1})/g,"sh_variable",-1],[/~|!|%|\^|\*|\(|\)|\+|=|\[|\]|\\|:|;|,|\.|\/|\?|&|<|>|\||%%|(?:##){2}(?!#)/g,"sh_symbol",-1],[/#/g,"sh_comment",3]],[[/"/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/'/g,"sh_string",-2],[/\\./g,"sh_specialchar",-1]],[[/$/g,null,-2]]]; \ No newline at end of file