mirror of
https://github.com/apache/httpd.git
synced 2025-08-01 07:26:57 +03:00
Allow the lexer loop to run a little longer.
Recognize "else" as a Perl keyword (d'uh) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331836 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -111,7 +111,7 @@ var prettyPrint;
|
||||
var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
|
||||
"debugger,eval,export,function,get,null,set,undefined,var,with," +
|
||||
"Infinity,NaN"];
|
||||
var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
|
||||
var PERL_KEYWORDS = "caller,delete,die,do,dump,else,elsif,eval,exit,foreach,for," +
|
||||
"goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
|
||||
"sub,undef,unless,until,use,wantarray,while,BEGIN,END";
|
||||
var PYTHON_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "and,as,assert,class,def,del," +
|
||||
@ -1140,7 +1140,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[
|
||||
var X = 0;
|
||||
while (spanIndex < nSpans) {
|
||||
X = X + 1;
|
||||
if (X > 1000) { break; }
|
||||
if (X > 2500) { break; }
|
||||
var spanStart = spans[spanIndex];
|
||||
var spanEnd = spans[spanIndex + 2] || sourceLength;
|
||||
|
||||
|
Reference in New Issue
Block a user