You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/07/01 17:50:41 UTC

svn commit: r1355939 - /httpd/httpd/branches/2.4.x/docs/manual/style/scripts/prettify.js

Author: humbedooh
Date: Sun Jul  1 15:50:40 2012
New Revision: 1355939

URL: http://svn.apache.org/viewvc?rev=1355939&view=rev
Log:
Add 'require' as a keyword for Lua scripts

Modified:
    httpd/httpd/branches/2.4.x/docs/manual/style/scripts/prettify.js

Modified: httpd/httpd/branches/2.4.x/docs/manual/style/scripts/prettify.js
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/style/scripts/prettify.js?rev=1355939&r1=1355938&r2=1355939&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/style/scripts/prettify.js (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/style/scripts/prettify.js Sun Jul  1 15:50:40 2012
@@ -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'],