httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1355939 - /httpd/httpd/branches/2.4.x/docs/manual/style/scripts/prettify.js
Date Sun, 01 Jul 2012 15:50:41 GMT
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'],



Mime
View raw message