Better mixin parsing error message

This commit is contained in:
ConnorSkees 2020-02-23 07:32:40 -05:00
parent 023bc647bd
commit dff4798a68

View File

@ -147,7 +147,7 @@ pub(crate) fn eat_include<I: Iterator<Item = Token>>(
}
tmp
}
_ => return Err(SassError::new("expected `(` or `;`", pos)),
_ => return Err("expected \"{\".".into()),
}
} else {
return Err(SassError::new("unexpected EOF", pos));