diff options
author | piernov <piernov@piernov.org> | 2016-05-08 20:45:40 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-05-08 20:45:40 +0200 |
commit | 9f28616dfd1cc425c5013937bab729217b7be2e6 (patch) | |
tree | c08a53708a6f59374d56b872c4047cbf80c81e27 /doc/phpdoc/js/prettify/lang-lua.js | |
parent | 07f9658d2fecc5f88cc27fba8502246a30d8fdc0 (diff) | |
download | candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.tar.gz candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.tar.bz2 candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.tar.xz candybox-9f28616dfd1cc425c5013937bab729217b7be2e6.zip |
Add build_doc.sh script + generated phpdoc
Diffstat (limited to 'doc/phpdoc/js/prettify/lang-lua.js')
-rw-r--r-- | doc/phpdoc/js/prettify/lang-lua.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/phpdoc/js/prettify/lang-lua.js b/doc/phpdoc/js/prettify/lang-lua.js new file mode 100644 index 0000000..e83a3c4 --- /dev/null +++ b/doc/phpdoc/js/prettify/lang-lua.js @@ -0,0 +1,2 @@ +PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r Â\xa0"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\S\s]*?(?:]\1]|$)|[^\n\r]*)/],["str",/^\[(=*)\[[\S\s]*?(?:]\1]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i], +["pln",/^[_a-z]\w*/i],["pun",/^[^\w\t\n\r \xa0][^\w\t\n\r "'+=\xa0-]*/]]),["lua"]); |