Fix unwrap_node import

This commit is contained in:
dalance 2019-10-21 20:41:27 +09:00
parent 945eb436dd
commit 468bfa03d8
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)),)*
_ => (),
}
}