From 1fcff693bfd74bbab36a6ad8fe9b8e6767d02c33 Mon Sep 17 00:00:00 2001 From: gieoon Date: Sat, 11 Feb 2023 05:08:13 +1300 Subject: [PATCH] added comment before pop --- lib/lexer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/lexer.js b/lib/lexer.js index 220fc78..4b8e583 100644 --- a/lib/lexer.js +++ b/lib/lexer.js @@ -450,6 +450,7 @@ function lex(css) { if ('at-group' === getState(1)) { initializeToken('at-group-end'); addToken(); + // If we're at 'at-group', pop to prior 'before-selector' popState(); } }