mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Fix #2242 - detect if less does not parse final character
This commit is contained in:
@@ -239,7 +239,7 @@ module.exports = function() {
|
||||
|
||||
parserInput.end = function() {
|
||||
var message,
|
||||
isFinished = parserInput.i >= input.length - 1;
|
||||
isFinished = parserInput.i >= input.length;
|
||||
|
||||
if (parserInput.i < furthest) {
|
||||
message = furthestPossibleErrorMessage;
|
||||
|
||||
Reference in New Issue
Block a user