From 4fa306e9011978cc374f6ab402ccb3602176d4ba Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 30 Apr 2026 12:44:08 +0200 Subject: Allow a magic "check:ignore" comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is basically the same as "asan:ignore", but to the programmer it will sound less weird on non-ASAN uses. Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xixanta') diff --git a/lib/xixanta/src/parser.rs b/lib/xixanta/src/parser.rs index 10340c4..a149e16 100644 --- a/lib/xixanta/src/parser.rs +++ b/lib/xixanta/src/parser.rs @@ -234,7 +234,7 @@ impl Parser { source: self.current_source, }); } - "asan:ignore" => { + "check:ignore" | "asan:ignore" => { self.nodes.last_mut().unwrap().push(PNode { node_type: NodeType::Comment(CommentType::AsanIgnore), value: PString { -- cgit v1.2.3