error message for unopened close paren in value
This commit is contained in:
parent
bccce094e4
commit
87b03e91c9
@ -606,7 +606,7 @@ impl Value {
|
||||
Ok(IntermediateValue::Op(Op::Div))
|
||||
}
|
||||
}
|
||||
':' | '?' => Err("expected \";\".".into()),
|
||||
':' | '?' | ')' => Err("expected \";\".".into()),
|
||||
v if v.is_control() => Err("Expected expression.".into()),
|
||||
v => {
|
||||
dbg!(v);
|
||||
|
@ -36,3 +36,7 @@ error!(
|
||||
backslash_as_last_character,
|
||||
"a {colo\\: red;}", "Error: expected \"{\"."
|
||||
);
|
||||
error!(
|
||||
close_paren_without_opening,
|
||||
"a {color: foo);}", "Error: expected \";\"."
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user