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
|
## [Unreleased](https://github.com/dalance/sv-parser/compare/v0.2.0...Unreleased) - ReleaseDate
|
||||||
|
|
||||||
* [Added] get_origin to SyntaxTree
|
* [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
|
## [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 = || {
|
let unwrap = || {
|
||||||
for x in $n {
|
for x in $n {
|
||||||
match x {
|
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