summaryrefslogtreecommitdiff
path: root/src/parse/properties/margin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/properties/margin.c')
-rw-r--r--src/parse/properties/margin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse/properties/margin.c b/src/parse/properties/margin.c
index 764177e..3479abf 100644
--- a/src/parse/properties/margin.c
+++ b/src/parse/properties/margin.c
@@ -87,6 +87,7 @@ css_error parse_margin(css_language *c,
prev_ctx = *ctx;
error = CSS_OK;
+ /* Ensure that we're not about to parse another inherit */
token = parserutils_vector_peek(vector, *ctx);
if (token != NULL && token->type == CSS_TOKEN_IDENT &&
token->ilower == c->strings[INHERIT]) {