diff options
author | Michael Drake <michael.drake@codethink.co.uk> | 2017-09-04 14:56:51 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2017-09-04 14:56:51 +0100 |
commit | 2fcb157f28b152ba32e89baddbd811b0d6e76b79 (patch) | |
tree | 30f96332ac7993ff4acf88b4892f922a80ddd393 /src/parse/properties/azimuth.c | |
parent | 2fc4177a09cc6fc6706f84dbe157077a41b6e22b (diff) | |
download | libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.gz libcss-2fcb157f28b152ba32e89baddbd811b0d6e76b79.tar.bz2 |
Strip trailing whitespace.
Diffstat (limited to 'src/parse/properties/azimuth.c')
-rw-r--r-- | src/parse/properties/azimuth.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/parse/properties/azimuth.c b/src/parse/properties/azimuth.c index 7df7298..f54189b 100644 --- a/src/parse/properties/azimuth.c +++ b/src/parse/properties/azimuth.c @@ -27,8 +27,8 @@ * Post condition: \a *ctx is updated with the next token to process * If the input is invalid, then \a *ctx remains unchanged. */ -css_error css__parse_azimuth(css_language *c, - const parserutils_vector *vector, int *ctx, +css_error css__parse_azimuth(css_language *c, + const parserutils_vector *vector, int *ctx, css_style *result) { int orig_ctx = *ctx; @@ -40,10 +40,10 @@ css_error css__parse_azimuth(css_language *c, uint32_t unit = 0; bool match; - /* angle | [ IDENT(left-side, far-left, left, center-left, center, - * center-right, right, far-right, right-side) || - * IDENT(behind) - * ] + /* angle | [ IDENT(left-side, far-left, left, center-left, center, + * center-right, right, far-right, right-side) || + * IDENT(behind) + * ] * | IDENT(leftwards, rightwards, inherit) */ token = parserutils_vector_peek(vector, *ctx); @@ -71,7 +71,7 @@ css_error css__parse_azimuth(css_language *c, parserutils_vector_iterate(vector, ctx); /* Now, we may have one of the other keywords or behind, - * potentially followed by behind or other keyword, + * potentially followed by behind or other keyword, * respectively */ if ((lwc_string_caseless_isequal( token->idata, c->strings[LEFT_SIDE], @@ -184,7 +184,7 @@ css_error css__parse_azimuth(css_language *c, value |= AZIMUTH_CENTER; } } else { - error = css__parse_unit_specifier(c, vector, ctx, UNIT_DEG, + error = css__parse_unit_specifier(c, vector, ctx, UNIT_DEG, &length, &unit); if (error != CSS_OK) { *ctx = orig_ctx; |