modules/custom-css/custom-css/preprocessors/lessc.inc.php 1 location
|
@@ 3545-3549 (lines=5) @@
|
| 3542 |
|
$line = $this->line + |
| 3543 |
|
substr_count(substr($this->buffer, 0, $count), "\n"); |
| 3544 |
|
|
| 3545 |
|
if (!empty($this->sourceName)) { |
| 3546 |
|
$loc = "$this->sourceName on line $line"; |
| 3547 |
|
} else { |
| 3548 |
|
$loc = "line: $line"; |
| 3549 |
|
} |
| 3550 |
|
|
| 3551 |
|
// TODO this depends on $this->count |
| 3552 |
|
if ($this->peek("(.*?)(\n|$)", $m, $count)) { |
modules/custom-css/custom-css/preprocessors/scss.inc.php 1 location
|
@@ 3902-3906 (lines=5) @@
|
| 3899 |
|
|
| 3900 |
|
$line = $this->getLineNo($count); |
| 3901 |
|
|
| 3902 |
|
if (!empty($this->sourceName)) { |
| 3903 |
|
$loc = "$this->sourceName on line $line"; |
| 3904 |
|
} else { |
| 3905 |
|
$loc = "line: $line"; |
| 3906 |
|
} |
| 3907 |
|
|
| 3908 |
|
if ($this->peek("(.*?)(\n|$)", $m, $count)) { |
| 3909 |
|
throw new Exception("$msg: failed at `$m[1]` $loc"); |