|
|
@@ -9706,7 +9706,7 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|
|
case 40:
|
|
|
$parenLevel++;
|
|
|
$lastParen = $this->parserCurrentIndex;
|
|
|
- continue 2;
|
|
|
+ break;
|
|
|
|
|
|
// )
|
|
|
case 41:
|
|
|
@@ -9714,18 +9714,18 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|
|
if( $parenLevel < 0 ){
|
|
|
return $this->fail("missing opening `(`");
|
|
|
}
|
|
|
- continue 2;
|
|
|
+ break;
|
|
|
|
|
|
// ;
|
|
|
case 59:
|
|
|
//if (!$parenLevel) { $this->emitChunk(); }
|
|
|
- continue 2;
|
|
|
+ break;
|
|
|
|
|
|
// {
|
|
|
case 123:
|
|
|
$level++;
|
|
|
$lastOpening = $this->parserCurrentIndex;
|
|
|
- continue 2;
|
|
|
+ break;
|
|
|
|
|
|
// }
|
|
|
case 125:
|
|
|
@@ -9735,10 +9735,10 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|
|
|
|
|
}
|
|
|
//if (!$level && !$parenLevel) { $this->emitChunk(); }
|
|
|
- continue 2;
|
|
|
+ break;
|
|
|
// \
|
|
|
case 92:
|
|
|
- if ($this->parserCurrentIndex < $this->input_len - 1) { $this->parserCurrentIndex++; continue 2; }
|
|
|
+ if ($this->parserCurrentIndex < $this->input_len - 1) { $this->parserCurrentIndex++; break; }
|
|
|
return $this->fail("unescaped `\\`");
|
|
|
|
|
|
// ", ' and `
|
|
|
@@ -9758,12 +9758,12 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|
|
$this->parserCurrentIndex++;
|
|
|
}
|
|
|
}
|
|
|
- if ($matched) { continue 2; }
|
|
|
+ if ($matched) { break; }
|
|
|
return $this->fail("unmatched `" . chr($cc) . "`", $currentChunkStartIndex);
|
|
|
|
|
|
// /, check for comment
|
|
|
case 47:
|
|
|
- if ($parenLevel || ($this->parserCurrentIndex == $this->input_len - 1)) { continue 2; }
|
|
|
+ if ($parenLevel || ($this->parserCurrentIndex == $this->input_len - 1)) { break; }
|
|
|
$cc2 = $this->CharCode($this->parserCurrentIndex+1);
|
|
|
if ($cc2 == 47) {
|
|
|
// //, find lnfeed
|
|
|
@@ -9784,14 +9784,14 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|
|
return $this->fail("missing closing `*/`", $currentChunkStartIndex);
|
|
|
}
|
|
|
}
|
|
|
- continue 2;
|
|
|
+ break;
|
|
|
|
|
|
// *, check for unmatched */
|
|
|
case 42:
|
|
|
if (($this->parserCurrentIndex < $this->input_len - 1) && ($this->CharCode($this->parserCurrentIndex+1) == 47)) {
|
|
|
return $this->fail("unmatched `/*`");
|
|
|
}
|
|
|
- continue 2;
|
|
|
+ break;
|
|
|
}
|
|
|
}
|
|
|
|