csslint: fire "enddocument" on }

fixes #235
This commit is contained in:
tophf 2017-11-14 08:51:06 +03:00
parent 1d463d7820
commit 5a4e1290d3

View File

@ -1717,7 +1717,6 @@ Parser.prototype = function() {
tokenStream.mustMatch(Tokens.RBRACE);
token = tokenStream.token();
this._readWhitespace();
this.fire({
type: "enddocument",
@ -1726,6 +1725,8 @@ Parser.prototype = function() {
line: token.startLine,
col: token.startCol
});
this._readWhitespace();
},
_document_function: function() {