From 1268783dc814dedca8dd2d169fff81ac7d1ae770 Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Sun, 1 Jul 2012 15:50:40 +0000 Subject: [PATCH] Add 'require' as a keyword for Lua scripts git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1355939 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/style/scripts/prettify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/manual/style/scripts/prettify.js b/docs/manual/style/scripts/prettify.js index 0cbde7753e..1539b5eed8 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'], -- 2.50.1