Better mixin parsing error message
This commit is contained in:
parent
023bc647bd
commit
dff4798a68
@ -147,7 +147,7 @@ pub(crate) fn eat_include<I: Iterator<Item = Token>>(
|
|||||||
}
|
}
|
||||||
tmp
|
tmp
|
||||||
}
|
}
|
||||||
_ => return Err(SassError::new("expected `(` or `;`", pos)),
|
_ => return Err("expected \"{\".".into()),
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return Err(SassError::new("unexpected EOF", pos));
|
return Err(SassError::new("unexpected EOF", pos));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user