From: Daniel Gruno Date: Sun, 1 Jul 2012 15:35:14 +0000 (+0000) Subject: Add 'require' as a keyword for Lua scripts X-Git-Tag: 2.5.0-alpha~6685 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c530de1dd5bad1b9a2caeee637887bbbde302d4;p=thirdparty%2Fapache%2Fhttpd.git Add 'require' as a keyword for Lua scripts git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1355935 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/style/scripts/prettify.js b/docs/manual/style/scripts/prettify.js index 0cbde7753eb..1539b5eed87 100644 --- a/docs/manual/style/scripts/prettify.js +++ b/docs/manual/style/scripts/prettify.js @@ -1589,7 +1589,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[ [PR['PR_TYPE'], /^nil|false|true/], // A long bracketed block not preceded by -- is a string. [PR['PR_STRING'], /^\[(=*)\[[\s\S]*?(?:\]\1\]|$)/], - [PR['PR_KEYWORD'], /^(?:and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|return|then|until|while)\b/, null], + [PR['PR_KEYWORD'], /^(?:and|break|do|else|elseif|end|for|function|if|in|local|not|or|repeat|require|return|then|until|while)\b/, null], // A number is a hex integer literal, a decimal real literal, or in // scientific notation. [PR['PR_LITERAL'],