Fix unwrap_node import
This commit is contained in:
parent
945eb436dd
commit
468bfa03d8
@ -3,6 +3,7 @@
|
||||
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.2.0...Unreleased) - ReleaseDate
|
||||
|
||||
* [Added] get_origin to SyntaxTree
|
||||
* [Fixed] unwrap_node import
|
||||
|
||||
## [v0.2.0](https://github.com/dalance/sv-parser/compare/v0.1.4...v0.2.0) - 2019-10-16
|
||||
|
||||
|
@ -146,7 +146,7 @@ macro_rules! unwrap_node {
|
||||
let unwrap = || {
|
||||
for x in $n {
|
||||
match x {
|
||||
$(RefNode::$ty(x) => return Some(RefNode::$ty(x)),)*
|
||||
$(sv_parser::RefNode::$ty(x) => return Some(sv_parser::RefNode::$ty(x)),)*
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user