mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
update: use classified err instead of syntax_error
This commit is contained in:
parent
9e1d5d263d
commit
38cb160057
2 changed files with 507 additions and 150 deletions
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue