handle | in values
This commit is contained in:
parent
c68576bb23
commit
c714d52775
@ -894,7 +894,7 @@ impl Value {
|
||||
}
|
||||
}
|
||||
';' | '}' | '{' => return None,
|
||||
':' | '?' | ')' | '@' | '^' | ']' => {
|
||||
':' | '?' | ')' | '@' | '^' | ']' | '|' => {
|
||||
return Some(Err(("expected \";\".", span).into()))
|
||||
}
|
||||
v if v as u32 >= 0x80 || v.is_control() || v == '`' => {
|
||||
|
@ -124,3 +124,4 @@ error!(
|
||||
);
|
||||
error!(toplevel_hash, "#", "Error: expected \"{\".");
|
||||
error!(toplevel_var_no_colon, "$r", "Error: expected \":\".");
|
||||
error!(bar_in_value, "a {color: a|b;}", "Error: expected \";\".");
|
||||
|
Loading…
x
Reference in New Issue
Block a user