mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-08-29 04:54:15 +00:00
updated AMD diagnostics regex
This commit is contained in:
parent
d3365c3bff
commit
3b865dfda2
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ impl<'a, T: opengl::ShaderValidator + ?Sized> DiagnosticsParser<'a, T> {
|
|||
"NVIDIA Corporation" => {
|
||||
Regex::new(r#"^(?P<filepath>\d+)\((?P<linenum>\d+)\) : (?P<severity>error|warning) [A-C]\d+: (?P<output>.+)"#).unwrap()
|
||||
}
|
||||
_ => Regex::new(r#"^(?P<severity>ERROR|WARNING): (?P<filepath>[^?<>*|"\n]+):(?P<linenum>\d+): '[a-z]*' : (?P<output>.+)$"#)
|
||||
_ => Regex::new(r#"^(?P<severity>ERROR|WARNING): (?P<filepath>[^?<>*|"\n]+):(?P<linenum>\d+): (?:'.*' :|[a-z]+\(#\d+\)) +(?P<output>.+)$"#)
|
||||
.unwrap(),
|
||||
})
|
||||
}
|
||||
|
@ -122,7 +122,7 @@ impl<'a, T: opengl::ShaderValidator + ?Sized> DiagnosticsParser<'a, T> {
|
|||
mod diagnostics_test {
|
||||
use std::path::PathBuf;
|
||||
|
||||
use slog::{slog_o, Level};
|
||||
use slog::slog_o;
|
||||
use url::Url;
|
||||
|
||||
use crate::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue