mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: fix Meta missing post_emit! implementation
This commit is contained in:
@@ -64,6 +64,9 @@ impl From<crate::trap::Label<generated::ExternItem>> for crate::trap::Label<gene
|
||||
}
|
||||
#[macro_export]
|
||||
macro_rules! post_emit {
|
||||
(Meta, $self:ident, $node:ident, $label:ident) => {
|
||||
$self.macro_context_depth -= 1;
|
||||
};
|
||||
(MacroCall, $self:ident, $node:ident, $label:ident) => {
|
||||
$self.extract_macro_call_expanded($node, $label);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user