update: use classified err instead of syntax_error

This commit is contained in:
GreasySlug 2023-01-16 15:40:31 +09:00
parent 9e1d5d263d
commit 38cb160057
2 changed files with 507 additions and 150 deletions

View file

@ -510,7 +510,7 @@ impl LexError {
"traditional_chinese" => expect.push_str("期望: "),
"english" => expect.push_str("expect: "),
);
expect.push_str_with_color_and_attribute(
expect.push_str_with_color_and_attr(
switch_lang!(
"japanese" => "メソッド",
"english" => "method",

File diff suppressed because it is too large Load diff