Add semi-colons to error function

This commit is contained in:
Luke Page
2012-10-23 17:23:51 +01:00
parent 776a5d87e5
commit 461b3704fc

View File

@@ -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,