Index: src/ast.cc |
diff --git a/src/ast.cc b/src/ast.cc |
index 8f69bd705923b7e9136d3881ebffca5f4507d9e8..38c6dddf9495b1915c56f30bcc2d28cda7138312 100644 |
--- a/src/ast.cc |
+++ b/src/ast.cc |
@@ -962,12 +962,12 @@ void* RegExpUnparser::VisitAtom(RegExpAtom* that, void* data) { |
void* RegExpUnparser::VisitText(RegExpText* that, void* data) { |
if (that->elements()->length() == 1) { |
- that->elements()->at(0).data.u_atom->Accept(this, data); |
+ that->elements()->at(0).tree()->Accept(this, data); |
} else { |
stream()->Add("(!"); |
for (int i = 0; i < that->elements()->length(); i++) { |
stream()->Add(" "); |
- that->elements()->at(i).data.u_atom->Accept(this, data); |
+ that->elements()->at(i).tree()->Accept(this, data); |
} |
stream()->Add(")"); |
} |