Skip to content

Commit

Permalink
Error enhancing
Browse files Browse the repository at this point in the history
  • Loading branch information
hydroper committed Apr 26, 2024
1 parent 70e9d4e commit 7c36b76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/parser/parser/css_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ impl<'input> CssParser<'input> {

/*
fn add_warning(&self, location: &Location, kind: DiagnosticKind, arguments: Vec<DiagnosticArgument>) {
if self.compilation_unit().prevent_equal_offset_warning(location) {
return;
}
self.compilation_unit().add_diagnostic(Diagnostic::new_warning(location, kind, arguments));
}
*/
Expand Down

0 comments on commit 7c36b76

Please sign in to comment.