summaryrefslogtreecommitdiff
path: root/src/parse/language.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2018-08-01 15:38:49 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2019-03-10 13:42:03 +0000
commit3342c8e3bafba86ff1154db940891a3405cb1c30 (patch)
treefb1b24398bbe01ee4932aecf86acfa1efa644d41 /src/parse/language.c
parent9eea40513329fbd10d494f5a2d29664847043c4c (diff)
downloadlibcss-3342c8e3bafba86ff1154db940891a3405cb1c30.tar.gz
libcss-3342c8e3bafba86ff1154db940891a3405cb1c30.tar.bz2
HACKS for testing Media Queries parsing.
Top level stylesheets need to have their media query passed in. So we need a way to parse standalone media queries. This was hacked together to explore doing that. However, it encounteded an issue where it seems the parseAtRule() function in src/parse/parse.c doesn't handle the full grammar for media queries.
Diffstat (limited to 'src/parse/language.c')
-rw-r--r--src/parse/language.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/parse/language.c b/src/parse/language.c
index faafcfd..54fac9a 100644
--- a/src/parse/language.c
+++ b/src/parse/language.c
@@ -532,7 +532,6 @@ css_error handleStartAtRule(css_language *c, const parserutils_vector *vector)
css_mq_query *media = NULL;
/* any0 = media query */
-
error = css__mq_parse_media_list(
c->strings, vector, &ctx, &media);
if (error != CSS_OK)