add TODO to interpolated_ident_body
This commit is contained in:
parent
716cb49991
commit
cdfd89cd75
@ -67,8 +67,10 @@ fn interpolated_ident_body<I: Iterator<Item = Token>>(
|
|||||||
buf.push_str(&escape(toks, false)?);
|
buf.push_str(&escape(toks, false)?);
|
||||||
} else if tok.kind == '#' {
|
} else if tok.kind == '#' {
|
||||||
toks.next();
|
toks.next();
|
||||||
|
// TODO: peekmore
|
||||||
let next = toks.next().unwrap();
|
let next = toks.next().unwrap();
|
||||||
if next.kind == '{' {
|
if next.kind == '{' {
|
||||||
|
// TODO: if ident, interpolate literally
|
||||||
let interpolation = parse_interpolation(toks, scope, super_selector)?;
|
let interpolation = parse_interpolation(toks, scope, super_selector)?;
|
||||||
buf.push_str(&interpolation.node.to_css_string(interpolation.span)?);
|
buf.push_str(&interpolation.node.to_css_string(interpolation.span)?);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user