summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/parse/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse/parse.c b/src/parse/parse.c
index d79551a..91bcff5 100644
--- a/src/parse/parse.c
+++ b/src/parse/parse.c
@@ -2053,9 +2053,9 @@ css_error parseAny(css_parser *parser)
parser->match_char = lwc_string_data(
token->idata)[0] == '(' ? ')' : ']';
state->substate = WS;
+ } else {
+ state->substate = WS2;
}
-
- state->substate = WS2;
/* Fall through */
case WS:
case WS2: