diff --git a/lib/parse/index.js b/lib/parse/index.js index 053f0596..b8e008da 100644 --- a/lib/parse/index.js +++ b/lib/parse/index.js @@ -79,6 +79,9 @@ module.exports = function(css, options){ function stylesheet() { var rulesList = rules(); + if (css) { + error('Parsing ended before all rules could be processed'); + } return { type: 'stylesheet',