diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-30 12:44:08 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-04-30 12:44:50 +0200 |
| commit | 4fa306e9011978cc374f6ab402ccb3602176d4ba (patch) | |
| tree | 632eca08d69e0892b0089bdfc273a7d7fc3af53d | |
| parent | a7bf22ce402256c3a056ac278629552ef4978da2 (diff) | |
| download | tools.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>
| -rw-r--r-- | lib/xixanta/src/parser.rs | 2 |
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 { |
