mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
fix call to removed function
This commit is contained in:
@@ -217,7 +217,7 @@ var Parser = function Parser(context, imports, fileInfo) {
|
||||
// Ruleset (Selector [Element '>', '.child'], [...])
|
||||
// ])
|
||||
//
|
||||
// In general, most rules will try to parse a token with the `$()` function, and if the return
|
||||
// In general, most rules will try to parse a token with the `$re()` function, and if the return
|
||||
// value is truly, will return a new node, of the relevant type. Sometimes, we need to check
|
||||
// first, before parsing, that's when we use `peek()`.
|
||||
//
|
||||
@@ -1324,7 +1324,7 @@ var Parser = function Parser(context, imports, fileInfo) {
|
||||
|
||||
if ((path = this.entities.quoted() || this.entities.url())) {
|
||||
|
||||
if (!parserInput.$(';')) {
|
||||
if (!parserInput.$char(';')) {
|
||||
parserInput.i = index;
|
||||
error("missing semi-colon on plugin");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user