Skip to content

Commit

Permalink
fix error message in verify markup
Browse files Browse the repository at this point in the history
fixes #146
  • Loading branch information
digama0 committed Oct 19, 2023
1 parent c9aea15 commit 2763d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/verify_markup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ fn verify_markup_comment(
if temp_buffer.is_empty() {
diag(Diagnostic::EmptyLabel(i as u32))
} else if db.name_result().lookup_label(&temp_buffer).is_none() {
diag(Diagnostic::UndefinedToken(sp, (&*temp_buffer).into()))
diag(Diagnostic::UnknownLabel(sp))
}
}
}
Expand Down

0 comments on commit 2763d74

Please sign in to comment.