diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2019-02-18 00:34:02 +0000 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2019-03-10 13:42:03 +0000 |
commit | db3834aa96dc06f4be51d936246e2a297e02fecf (patch) | |
tree | 5ce665405d0480e415c77ff6320b59dc2a7e6ffe /src | |
parent | 76474f669d55122d3ddc5d7898ea753312c116fd (diff) | |
download | libcss-db3834aa96dc06f4be51d936246e2a297e02fecf.tar.gz |
Parse: fix broken state transition in parseAny
Diffstat (limited to 'src')
-rw-r--r-- | src/parse/parse.c | 4 |
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: |