Fix macro
This commit is contained in:
parent
9964f2b9b6
commit
78a66bf6ae
@ -224,7 +224,7 @@ macro_rules! unwrap_node {
|
|||||||
let unwrap = || {
|
let unwrap = || {
|
||||||
for x in $n {
|
for x in $n {
|
||||||
match x {
|
match x {
|
||||||
$(sv_parser::RefNode::$ty(x) => return Some(sv_parser::RefNode::$ty(x)),)*
|
$($crate::RefNode::$ty(x) => return Some($crate::RefNode::$ty(x)),)*
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -240,7 +240,7 @@ macro_rules! unwrap_locate {
|
|||||||
let unwrap = || {
|
let unwrap = || {
|
||||||
for x in $n {
|
for x in $n {
|
||||||
match x {
|
match x {
|
||||||
sv_parser::RefNode::Locate(x) => return Some(x),
|
$crate::RefNode::Locate(x) => return Some(x),
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user