mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
Add semi-colons to error function
This commit is contained in:
@@ -193,10 +193,10 @@ less.Parser = function Parser(env) {
|
||||
}
|
||||
|
||||
function error(msg, type) {
|
||||
var e = new Error(msg)
|
||||
e.index = i
|
||||
e.type = type || 'Syntax'
|
||||
throw e
|
||||
var e = new Error(msg);
|
||||
e.index = i;
|
||||
e.type = type || 'Syntax';
|
||||
throw e;
|
||||
}
|
||||
|
||||
// Same as $(), but don't change the state of the parser,
|
||||
|
||||
Reference in New Issue
Block a user