fix traversing the catch node
This commit is contained in:
parent
1ff58e5cfb
commit
ca889c1e78
@ -42,6 +42,11 @@ func (n *Catch) Walk(v walker.Visitor) {
|
||||
}
|
||||
}
|
||||
|
||||
if n.Variable != nil {
|
||||
vv := v.GetChildrenVisitor("Variable")
|
||||
n.Variable.Walk(vv)
|
||||
}
|
||||
|
||||
if n.Stmts != nil {
|
||||
vv := v.GetChildrenVisitor("Stmts")
|
||||
for _, nn := range n.Stmts {
|
||||
|
Loading…
Reference in New Issue
Block a user