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:35:14 UTC

svn commit: r1355935 - /httpd/httpd/trunk/docs/manual/style/scripts/prettify.js

Author: humbedooh
Date: Sun Jul  1 15:35:14 2012
New Revision: 1355935

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

Modified:
    httpd/httpd/trunk/docs/manual/style/scripts/prettify.js

Modified: httpd/httpd/trunk/docs/manual/style/scripts/prettify.js
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/scripts/prettify.js?rev=1355935&r1=1355934&r2=1355935&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/scripts/prettify.js (original)
+++ httpd/httpd/trunk/docs/manual/style/scripts/prettify.js Sun Jul  1 15:35:14 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'],