aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-30 12:44:08 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-30 12:44:50 +0200
commit4fa306e9011978cc374f6ab402ccb3602176d4ba (patch)
tree632eca08d69e0892b0089bdfc273a7d7fc3af53d /lib/xixanta
parenta7bf22ce402256c3a056ac278629552ef4978da2 (diff)
downloadtools.nes-4fa306e9011978cc374f6ab402ccb3602176d4ba.tar.gz
tools.nes-4fa306e9011978cc374f6ab402ccb3602176d4ba.zip
Allow a magic "check:ignore" comment
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à <mssola@mssola.com>
Diffstat (limited to 'lib/xixanta')
-rw-r--r--lib/xixanta/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
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 {